[erlang-questions] Funargs: Ruby-like blocks for Erlang

Tristan Sloughter tristan.sloughter@REDACTED
Fri Jul 22 20:35:42 CEST 2011


I think everyone has suggested let bindings at some point in time for Erlang
:)

On Fri, Jul 22, 2011 at 1:23 PM, Tim Watson <watson.timothy@REDACTED>wrote:

> > I very much like the idea of a proper let (or a where) and I think it
> would make variable handling clearer. Variables are handled in a consistent
> way but it is not always easy to work out what should happen. Most people
> never ave problems with this as most people write pretty "simple" code (from
> the compiler point of view). Adding local functions, which I think would be
> a Good Thing, in the same way as variables are handled today would be very
> confusing so some form of 'let' construct would be necessary, at least for
> them. Then we might as well have for variables as well.
> >
>
> I like the idea of let bindings - I think someone has suggested this
> before. It might have been Richard, although apologies if I've got
> that wrong.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110722/3a2eb28a/attachment.htm>


More information about the erlang-questions mailing list