[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Passing function arguments to xpcall
- From: "Paul Hudson" <phudson@...>
- Date: Wed, 2 Aug 2006 15:08:26 +0100
> 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?