[erlang-questions] comma vs andalso

Alpar Juttner <>
Wed Jul 8 08:21:41 CEST 2009


> I conclude that
> (1) you had best be EXTREMELY cautious about using 'andalso'
>      and 'orelse' in guards; they are NOT drop-in replacements
>      for ',' and ';', and
> (2) it is long past time that Erlang allowed nested use of
>      ',' and ';' in guards.

(3) this topic should be discussed in details (with examples) in the
doc.

Alpar




More information about the erlang-questions mailing list