receive after
Vlad Dumitrescu XX (LN/EAB)
vlad.xx.dumitrescu@REDACTED
Tue May 31 12:57:41 CEST 2005
From: Dietmar Schaefer
>I am just reading http://www.erlang.se/doc/doc-5.4/doc/reference_manual/part_frame.html
Hello,
There is a type in the documentation, the last clause in a receive or in a case must not have any semicolons after them.
BTW, is there a compelling reason why that is so? Why not let all clauses end with semicolon? It's much easier to reorder them by simply copy-and-paste :-)
I think I already can guess the answer - the parser would need larger lookahead to understand what's going on... Is it so?
regards,
Vlad
More information about the erlang-questions
mailing list