lua-users home
lua-l archive

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


 >> I think you've just found out about closures.

   Or at least I think I might now recognize their practical application. 
:-)

   I'm comfortable with the notion of a function carrying around it's own
environment, but I don't have a lot of practical experience with how to
exploit that concept to get real work done.  I suspect that if I'd been at
a school where LISP (for example) was in fashion that it might be a
different story.

   Cheers,

   Dave