[erlang-questions] List to proplist?

Andras Georgy Bekes <>
Thu Oct 30 13:26:23 CET 2008


> lists:unfold/2 has been added to the upcoming R12B-5 release.

Please note that I proposed an extension for list comprehensions that 
does the job of unfold/2 and more.

See 
http://www.erlang.org/pipermail/erlang-questions/2008-August/037150.html

I'm not saying that unfold/2 is not needed. We do have (and sometimes 
use) map/2 and filter/2 even if using list comprehension is usually 
more readable.

I'm saying that the power of unfold should be incorporated in list 
comprehensions, as it can be done with a nice syntax and semantics.

	Georgy



More information about the erlang-questions mailing list