Improper lists [was: Dialyzer v1.3.0 released]

Matthias Lang <>
Wed Mar 30 00:34:26 CEST 2005


 Matt> > It's possible to see it the other way around. Cons cells are
 Matt> > universal.                                    ^^^^^^^^^^

 James> True.  But the way I see it, the fundamental difference is that lists
 James> are designed...                                                 ^^^^^

All lists are made of cons cells.
But not all cons cells are part of a list.

Wasn't that the whole point?

http://www.gigamonkeys.com/book/beyond-lists-other-uses-for-conses.html
http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-16.html#%_sec_2.3.3

Matt



More information about the erlang-questions mailing list