<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Erlangers,<br>
<br>
this is a closure on my posts on function references. First of all I
think Erlang is an amazing language and I am happy to be studying it
in more detail. I really enjoy writing Erlang code.<br>
<br>
I find it funny that in retrospect the discussion seems to confirm
Wadler's law of language design[1]: people tend to spend 8-times the
amount of the time used for discussing semantics on discussing the
lexical syntax of comments :-) <br>
<br>
To my defense I was not so much interested in the concrete syntax
but in the fact that I found it
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
unintuitive how to pass a named function as a value. I was thinking
more about the operational aspects. Applying a function consists of
evaluating the body of the matching function clause. In this
procedure the arity to me is just as important as any other aspect
of the argument values passed. For instance map/2 in [2] still
refers to two possible function clause bodies. <br>
<br>
This said I am happy, if you can point me to some good papers or
source code spots about the implementation of erl/beam. I will
definitely dig more into the Core Erlang spec [3].<br>
<br>
Happy hacking,<br>
Jakob<br>
<br>
[1] - <a class="moz-txt-link-freetext" href="http://www.haskell.org/haskellwiki/Wadlers_Law">http://www.haskell.org/haskellwiki/Wadlers_Law</a><br>
[2] - <a class="moz-txt-link-freetext" href="http://www.erlang.org/doc/programming_examples/funs.html">http://www.erlang.org/doc/programming_examples/funs.html</a><br>
[3] - <a class="moz-txt-link-freetext" href="http://www.it.uu.se/research/group/hipe/cerl/">http://www.it.uu.se/research/group/hipe/cerl/</a><br>
<br>
<br>
</body>
</html>