lua-users home
lua-l archive

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


>What I'd love to see, is the ability to get a ref to the 'current'
>function, perhaps as an implicit variable, a bit like 'this' in java and
>C++.

This "need" comes up every once in a while.
But is this really needed?
I agree that a language solution would be nice, but I can't see one nor can I
see a real need for this. How common are such recursive functions?
--lhf