lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Jun 7, 2015 at 4:09 AM, Rena <hyperhacker@gmail.com> wrote:
> unusual. What I've seen in some dialects is that it automatically
> creates a closure; i.e. `f = v:abs` means the same as `f =
> function(...) return v:abs(...) end`.

That's how I would read it, and how it works in Moonscript.

The fact that people have very different meanings attached to the
ambiguous syntax v:abs means that it is a bad idea.