Fabien <fleutot+lua@gmail.com> writes:
I've also experimented with shorted syntaxes for multiple statements
instead
of single expressions as aboved, but in the end I felt that it wasn't
worth
it. However, you can still use it (it's "do |foo, bar| stat1;
stat2;...statn
end" in the currently available version IIRC), or define whatever
suits
you.
Hmm, since square-brackets are currently not valid in an
"expression-initial" context in lua, how about just using them as
syntactic sugar for an anonymous function?