[erlang-questions] Funargs: Ruby-like blocks for Erlang
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions