[erlang-questions] Newbie question about line endings

Loïc Hoguin essen@REDACTED
Wed Dec 21 20:27:50 CET 2011

Erlang functions are beautiful sentences that reply to questions given 
in the form of arguments through a structurally correct list of 
statements (elements separated by , ) and branching (elements separated 
by ; ).

, and ; are separators, that's why you don't have one at the last 
element, and the dot is the end of the sentence.

On 12/21/2011 08:21 PM, August Schwartzwald wrote:
> Hi,
> I started to learn Erlang about a month ago. I really like it and think
> that with some more practice it will become a both unique and powerful
> tool in my growing box of programming languages. However, there is one
> thing about it that I find extremely annoying: The line endings.
> I currently know 5 programing languages, they have either 0 (python) or
> 1 way to end lines (usually the ';' character). Erlang totally stands
> out here and requires that lines are ended in one of 4 different ways.
> Did some googling without finding any good reason to why the language
> works in this way. Can anyone here explain this?
> Thanks
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

Loïc Hoguin

More information about the erlang-questions mailing list