[erlang-questions] DRY principle and the syntax inconsistency in fun vs. vanilla functions

Richard O'Keefe ok@REDACTED
Fri May 20 10:29:49 CEST 2011


On 19/05/2011, at 4:17 AM, Daniel Goertzen wrote:
> 
> I think this is a key issue here: multi-clause funs just don't happen all that often.  It was very late in my Erlang learning experience that I found the need for multi-clause funs, and I easily found the documentation at the time.

In fact the very first thing after the heading "7.17 Fun Expressions"
is a sketch of a fun with multiple clauses.

That's not what I call hard to find!




More information about the erlang-questions mailing list