[erlang-questions] What is the purpose of the fun vs function distinction?

David Cabana drcabana@REDACTED
Mon Jan 14 04:49:59 CET 2008


>
> > That is a bad match, did you mean "Doub = fun(X) -> 2*X end" ?

Yes, I did. I should have run my examples, but instead I just wrote them
up.

Thanks for the replies. They were enlightening.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080113/9c26bcf7/attachment.htm>


More information about the erlang-questions mailing list