Skip to content

Commit

Permalink
clarified wording
Browse files Browse the repository at this point in the history
  • Loading branch information
bchase committed Nov 27, 2012
1 parent f1d95e1 commit 83266ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crash-course.markdown
Expand Up @@ -495,7 +495,7 @@ def loop_through([]) do
end end
{% endhighlight %} {% endhighlight %}


When defining a function with the same name multiple times, each such definition is called a **clause**. In Erlang, clauses always go side by side, separated by a semi-colon ``;``, the last clause is terminated by a dot ``.``. When defining a function with the same name multiple times, each such definition is called a **clause**. In Erlang, clauses always go side by side and are separated by a semi-colon ``;``. The last clause is terminated by a dot ``.``.


Elixir doesn't require punctuation to separate clause, although the must be grouped together. Elixir doesn't require punctuation to separate clause, although the must be grouped together.


Expand Down

0 comments on commit 83266ee

Please sign in to comment.