lua-users home
lua-l archive

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

> Wanted to use xpcall, and found that it does not accept any arguments
> to the function. This is very incomfortable, as I have to create extra
> wrapper function to pass arguments.

My view is that anonymous functions and closures are wonderful things and
should be used :)

In other words, what's wrong with creating wrapper functions?