[erlang-questions] Help for a newbie...

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Wed May 8 15:34:09 CEST 2013


On May 8, 2013, at 3:28 PM, Boris Barvish <bbarvish@REDACTED> wrote:

The following line:

>  AllTokens = string:tokens(UserEntry, ",").

contains a dot (.) in the end. It should have been a comma (,) instead. In Erlang the dot (.) "ends sentences" whereas the comma signifies the wording "andalso" as in "do this andalso do that". Finally the semicolon can be read as an alternation "orelse" as in "do this orelse do that".

Hope this helps.

Jesper Louis Andersen
  Erlang Solutions Ltd., Copenhagen






More information about the erlang-questions mailing list