[erlang-questions] List comprehension question

Anthony Ramine n.oxyde@REDACTED
Tue May 27 15:28:32 CEST 2014


The comprehension [ X || X <- List, true = foo(X) ] is currently valid and will crash if foo(X) doesn’t return true.

Changing this would change the semantics of a certain class of filters, which are, albeit of dubious usefulness, nonetheless currently valid.

-- 
Anthony Ramine

Le 27 mai 2014 à 13:35, Rich Neswold <rich.neswold@REDACTED> a écrit :

> How?
> 




More information about the erlang-questions mailing list