[erlang-questions] Funargs: Ruby-like blocks for Erlang

Tony Arcieri tony.arcieri@REDACTED
Fri Jul 22 05:49:07 CEST 2011

On Thu, Jul 21, 2011 at 7:43 PM, Richard O'Keefe <ok@REDACTED> wrote:

> Wrong.  In funs, "end" is paired with "fun" and "fun" ONLY.

Okay, conceded (and Jachym made the same point)

I'll revert to my other point, which is that the '->' token in Erlang is
only found in forms outside of funs, which are expressions. No other
expression in Erlang uses the '->' token.

I'd also ask what you feel about the people who responded to this thread who
find the Erlang fun syntax awkward. I certainly find it awkward.

Tony Arcieri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110721/3a992957/attachment.htm>

More information about the erlang-questions mailing list