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

Tim Watson watson.timothy@REDACTED
Fri Jul 22 20:23:44 CEST 2011

> 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.

More information about the erlang-questions mailing list