Phil Dawes wrote: > > And is there a good way of doing an iterate->collect without essentially > maintaining two cursors underneath? (unless you generalize the concept > of a cursor ;-)
Actually having thought about this it's only integer referenced containers that can share the same 'cursor' for iterating and collecting, so any generalized implementation of map would result in maintaining two underlying cursors anyway (regardless of whether the protocol is cursor or HOF based). Cheers, Phil ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
