lua-users home
lua-l archive

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


On 2014-05-25 9:25 PM, "Philipp Janda" <siffiejoe@gmx.net> wrote:
> Traditionally[1], the function is called `fn` and uses P1-P9 for parameters and L1-L9 for upvalues.
>
> [...]
>
> Philipp
>
>   [1]: http://lua-users.org/wiki/ShortAnonymousFunctions
>

That does look more elegant than doing string substitution, though I wonder about the overhead of having 9 parameters.