lua-users home
lua-l archive

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


On Jul 6, 2011, at 9:21 PM, Sebastien Lai wrote:

> Apart from that, it looks like purely syntactic sugar...

Which it is:

local function dwim() end

is equivalent to:

local dwim = function() end

http://www.lua.org/manual/5.1/manual.html#2.5.9