[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Using closures was:Re: Lua5.0 new "For" question
- From: "Peter Prade" <Peter.Prade@...>
- Date: Sat, 28 Dec 2002 00:28:25 +0100
> Here I am giving full access to the cadd function on purpose,
> it would have been easier to provide accessor functions, but
> I thought this is a more intresting excercise.
very interesting indeed.
i don't think i have seen this idea to implement a new datatype with
closures before.
mind to put it up somewhere on the wiki?
perhaps here? http://lua-users.org/wiki/LearningLua
or maybe: http://lua-users.org/wiki/SampleCode
Peter