<div>Hi Rustom,</div><div><br></div>note that 'CapitelLetter' is also an atom.<div><br></div><div><div><div><br></div></div><div class="gmail_quote">On Wed, Dec 12, 2012 at 10:00 PM, Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 12/12/2012 06:58 PM, Rustom Mody wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In Erlang variables start with a capital letter, atoms start with a<br>
lowercase letter.<br>
Functions also start with lowercase.<br>
<br>
How does Erlang distinguish atoms and functions? Especially in the<br>
context of higher order functions.?<br>
<br>
[Disclaimer: noob to Erlang but not functional programming or Lisp.<br>
Erlang atoms look quite close to Lisp atoms though also different...]<br>
</blockquote>
<br></div></div>
Function names are atoms.<br>
<br>
Funs don't have a name (yet) so there's no naming happening there.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Loïc Hoguin<br>
Erlang Cowboy<br>
Nine Nines<br>
<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br>
______________________________<u></u>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
</font></span></blockquote></div><br></div>