[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: iterator sequences (was: Standard libraries)
- From: Wim Couwenberg <wim.couwenberg@...>
- Date: Sat, 2 Jan 2010 09:28:45 +0100
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!
Bye,
Wim