[erlang-questions] arity part of function name and variadic functions
Robert Virding
rvirding@REDACTED
Mon Feb 23 21:38:46 CET 2009
2009/2/22 Richard Carlsson <richardc@REDACTED>
> Peter Michaux wrote:
>
> > Were they concisely chosen to help the programmer in some way, were
> > they to make implementation easier or more efficient, or did they just
> > happen somewhere along the way?
>
> In all likelihood they happened because that is how predicates work
> in Prolog, just like most of Erlang's lexical conventions were taken
> from Prolog. (The first experiments with Erlang were implemented on
> top of Prolog.)
Yes, that is exactly what happened, it was "inherited" from Prolog. Along
with a lot of things apart from the syntax.
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090223/769ce572/attachment.htm>
More information about the erlang-questions
mailing list