[erlang-questions] wierd list comprehension outcomes

Imants Cekusins imantc@REDACTED
Sun Jan 25 18:30:37 CET 2015


Well in
[[3,2] | 1]
it's 1 that is not ok.

[3,2] as a head could work. For example, a string (which is a list) can be
a Head.

The tail however is always a list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150125/9f2a6e05/attachment.htm>


More information about the erlang-questions mailing list