Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % hello world program
- main(_Args) ->
- L = [1,2,3,4,5],
- % Function = fun(Elem) -> io:fwrite(Elem) end,
- lists:foreach(fun(Elem) -> io:fwrite("~p~n", [Elem]) end, L).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement