[erlang-questions] Erlang again!

Vlad Dumitrescu vladdu55@REDACTED
Fri Jul 23 16:28:53 CEST 2010


On Fri, Jul 23, 2010 at 16:21, David Mercer <dmercer@REDACTED> wrote:
>    [ {g(Y), h(Y)} || X <- L, Y <- [f(X)] ]
>

Maybe
[ begin Y=f(X), {g(Y), h(Y)} end || X <- L ]

regards,
Vlad


More information about the erlang-questions mailing list