Variable binding within lists (and tuples)

Zoltan Lajos Kis kiszl@REDACTED
Wed Aug 5 15:29:30 CEST 2009


Hi,

Could somebody explain what is the order of building the list and binding
the variables in the following examples?

> [A=2,A].
* 1: variable 'A' is unbound

> [B=2,B=3].
** exception error: no match of right hand side value 3

Thank you,
Zoltan.



More information about the erlang-questions mailing list