yes, works and is rather nice if you looked at the explanation of what
list comprehensions are translated to beforehand, but the simple form
would be so much more expressive.
On 02/10/2017 05:59 PM, Kostis Sagonas wrote:
> Member_keys = [(fun(#member{key = Key}) -> Key end)(M) || M <- Members].