Programming Erlang 3: funs, list comprehensions, guards, records, if/case
Saturday, July 28th, 2007 by Alexander LangI started reading the book Programming Erlang and while I read I blog along what I find most interesting/important. In the end, this will hopefully be some kind of erlang tutorial, for your pleasure and my reference.
I also started creating an Erlang Cheat Sheet with all the syntax on it. Here are the previous posts and now comes the third:
funs
Funs are anonymous functions. Funs can be assigned to variables and, more importantly, passed as arguments into functions and also be returned by functions - these would be called higher order functions.





