[erlang-questions] comma-less lists and tuples

Richard Carlsson <>
Wed Sep 20 17:58:00 CEST 2006

Thomas Lindgren wrote:
> in Erlang as we know it, the  comma-less notation is
> ambiguous, e.g.
> {X andalso Y} = {(X andalso Y)} or {X, 'andalso', Y}?
> So that would have to be fixed first. Anyway, those who are
> interested could have a go at erl_parse.yrl and see whether it can be
> done.

I think you'll find this to be the main snag:

     {F (1+X) Y} = {F(1+X), Y} or {F, 1+X, Y}


More information about the erlang-questions mailing list