summaryrefslogtreecommitdiffhomepage
path: root/elixir.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'elixir.html.markdown')
-rw-r--r--elixir.html.markdown10
1 files changed, 5 insertions, 5 deletions
diff --git a/elixir.html.markdown b/elixir.html.markdown
index 2e9aa5a1..8ea499ff 100644
--- a/elixir.html.markdown
+++ b/elixir.html.markdown
@@ -1,7 +1,7 @@
---
language: elixir
-author: Joao Marques
-author_url: http://github.com/mrshankly
+contributors:
+ - ["Joao Marques", "http://github.com/mrshankly"]
filename: learnelixir.ex
---
@@ -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