lua-users home
lua-l archive

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

Paige DePol <> wrote:

> So, essentially function(a=expr1, b, c=expr1) would just become
> syntactic sugar for the following:
> function(a, b, c)
>  a = a or expr1
>  c = c or expr2
> end

Typo: function(a=expr1, b, c=expr2) 

Sorry for the extra post, just wanted to clarify my example!