[erlang-questions] What's the difference between tuple and list ?
Tue Sep 25 12:53:20 CEST 2007
The Pragmatic Programming Erlang says:
1) Suppose you want to group a fixed number of items into a single
entity.For this you'd use a tuple.
2) We use lists to store variable numbers of things.
However, we know that variables in Erlang are in essence invariable. So what
is the difference between tuple and list ?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions