lua-users home
lua-l archive

Re: Syntactic sugar for function parameters

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


About empty (): without it, how would you make the difference between the
function itself ( e.g. to pass it as a parameter to a higher-order
function), and the application of that function?
I'm not talking about the empty () at the end of a application without
parameters, but the empty () after the function keyword when an
function without parameters is defined:
foobar = function() frob() end

AltStyle によって変換されたページ (->オリジナル) /