summaryrefslogtreecommitdiffhomepage
path: root/elixir.html.markdown
diff options
context:
space:
mode:
authorAlbertMoscow <albert01.01.1980@gmail.com>2013-07-08 23:37:41 -0700
committerAlbertMoscow <albert01.01.1980@gmail.com>2013-07-08 23:37:41 -0700
commit26adba17e1da43d332c33defe10b2019c248c1bf (patch)
tree54bf38c2865b53c14eab80560350668c21f765e6 /elixir.html.markdown
parent7555578053fdddd53ca20eec9d5a0a03b5ee6bd8 (diff)
Fixed typos
Diffstat (limited to 'elixir.html.markdown')
-rw-r--r--elixir.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/elixir.html.markdown b/elixir.html.markdown
index 3a11ce1f..8ea499ff 100644
--- a/elixir.html.markdown
+++ b/elixir.html.markdown
@@ -33,7 +33,7 @@ and many more features.
# Atoms, that are literals, a constant with name. They start with `:`.
:hello # atom
-# Tuples that are stored contigously in memory.
+# Tuples that are stored contiguously in memory.
{1,2,3} # tuple
# We can access a tuple element with the `elem` function:
@@ -47,7 +47,7 @@ elem({1, 2, 3}, 0) #=> 1
head #=> 1
tail #=> [2,3]
-# In elixir, just like in erlang, the `=` denotes pattern matching and
+# In elixir, just like in Erlang, the `=` denotes pattern matching and
# not an assignment.
#
# This means that the left-hand side (pattern) is matched against a
@@ -170,7 +170,7 @@ case {:one, :two} do
"This will match any value"
end
-# It's common practive to assign a value to `_` if we don't need it.
+# It's common practice to assign a value to `_` if we don't need it.
# For example, if only the head of a list matters to us:
[head | _] = [1,2,3]
head #=> 1