Den 24.08.2010 17:58, skrev Nicolas Cellier:
2010/8/24 Schwab,Wilhelm K <bschwab@anest.ufl.edu>:
This cropped up in Dolphin some years back. IIRC, OA's answer was that streams historically worked on only Array and maybe something else. Having said that, they relaxed a constraint because it was harmless and a good idea.
I'm not sure about streaming over a set; lack of order means that it might be tricky to maintain a reasonable position??
Exactly, the Stream would hardly be positionable, unless you use a sort of OrderedSet... A ReadWriteStream would be problematic for the same reasons.
What would be the interest of such a Stream ? (I mean something more than what just you can do with #do:or #add:)
Nicolas +1. I don't quite see what use could would find in a stream of a non-sequenced source that is not better served by using a different abstraction, or the source itself..
Cheers, Henry