[erlang-questions] Core erlang wildcards and sequences

Robert Virding <>
Thu Aug 22 18:41:22 CEST 2013


While the Erlang compiler stacks let this is not really necessary as Core does supports nested calls. It is really not defined in which order the arguments will be evaluated, which is one reason why Erlang does the explicit nested lets. In one sense there it makes no difference as the resultant code will be the same, however the optimisation passes of the compiler more or less assume the flattened nested form.

There is one thing missing in Core and that is non-recursive local function definitions. Using letrec defines a recursive function so if you want to reuse local function names as local to a block you can't, you have to invent a new name each time. Almost trivial but still annoying.

Robert

----- Original Message -----
> From: "Ludovic Demblans" <>
> To: 
> Sent: Saturday, 3 August, 2013 3:50:36 PM
> Subject: Re: [erlang-questions] Core erlang wildcards and sequences
> 
> Ok so i'll continue to stack let expressions, it seems simple.
> 
> Thanks for the replies,
> 
> Ludovic
> 
> 
> 
> 
> Le Thu, 01 Aug 2013 15:57:30 +0200, Anthony Ramine <> a
> écrit:
> 
> > Hello,
> >
> > Replied inline.
> >
> 
> 
> --
> Utilisant le logiciel de courrier révolutionnaire d'Opera :
> http://www.opera.com/mail/
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
> 



More information about the erlang-questions mailing list