parse_trans/examples/lc.erl
2013-12-12 14:20:47 +01:00

8 lines
111 B
Erlang

-module(lc).
-export([f/1]).
f(X) ->
[fun(_) ->
erlang:now()
end || {Y1,Y2} <- [{1,a},{2,b}]].