<div class="gmail_quote">On Thu, Jul 21, 2011 at 3:48 PM, Richard O'Keefe <span dir="ltr"><<a href="mailto:ok@cs.otago.ac.nz">ok@cs.otago.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
And YEEK! The argument list here</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
looks like nothing else in Erlang whatever!<br>
Surely surely surely Erlang should look like Erlang!<br>
<div class="im"><br>
lists:map([1,2,3,4,5]) do (N) -> N*2 end</div></blockquote><div><br></div><div>The "end" keyword, in all other cases in Erlang, is paired with a corresponding keyword, like "if", or "case", or "receive", or "try". Only in funs is "end" paired with the stabby symbol. If anything Erlang's fun syntax is inconsistent.</div>
<div> </div></div>-- <br>Tony Arcieri<br><br>