News for hackers. Stuff that matters.
Re:Phoenix 1.3 is pure love for API development by klibertp on Saturday March 04, 2017 @10:00AM (#13791140)
Works in Elixir, too...

    Enum.sum(for x <- [1, 2, 3, 4], rem(x, 2) == 0, do: x * x)
Edit: BTW: I'm not sure, but I think Erlang had list comprehensions even earlier than Python.

There are no comments on this comment yet.