lua-users home
lua-l archive

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

Hi Mark,

nice ideas!  The less magic the better however.  The 'transformers'
concept or treating 'map' as an implicit case is a bit too much maybe.
 I'm not sure about 'done' although it is nice to see how easily it
can be supported.  OTOH it breaks the concept that sequences can only
be iterated or turned into other sequences: more magic.  For example,
your "foreach" neatly generates an error when it is called again,
something that is not so clear for the 'done' version.

But I agree.  It can turn into a very useful little library!