[erlang-questions] Erlang again!

Vlad Dumitrescu <>
Fri Jul 23 16:28:53 CEST 2010


On Fri, Jul 23, 2010 at 16:21, David Mercer <> 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