[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: AKClassHierarchy
- From: PA <petite.abeille@...>
- Date: Sun, 12 Feb 2006 18:11:34 +0100
On Feb 12, 2006, at 14:05, Gavin Kistner wrote:
Which yet again points to the fact that 'super' type methods can't be
written using first-class functions in a way that allows them to be
used and re-shared. Pity.
Of course, they can... it just a question of how much you are willing
to pay for it.
Hrm...unless I went crazy-stupid and used global variables and wrapper
functions. Something like...
If you are so inclined, you can define your class fully as a closure.
Check the PIL example under chapter 16.4 - Privacy:
http://www.lua.org/pil/16.4.html
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/