lua-users home
lua-l archive

RE: Using closures was:Re: Lua5.0 new "For" question

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


> 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

AltStyle によって変換されたページ (->オリジナル) /