Re: comments on generators
John Cowan 11 Jan 2016 01:38 UTC
Per Bothner scripsit:
> Overall, this seems a useful and reasonable SRFI. However,
> I reserve judgment about whether it belongs in R7RS-large.
Yes, this isn't the time or place to make that decision yet. The time
will probably be March and the place will be the WG2 mailing list.
> make-bits-generator n
Your point is well-taken. I will suppress this generator and bring
something like it back when I consider bit vectors based on bignums
(for the Orange Edition).
> gcombine proc seed gen gen2 …
> IMO It would be more natural for proc to not take a seed.
> Instead we should standardize gmap:
Shiro Kawai scripsit:
> Given that generators are inherently stateful object, it may not be
> as important to have both gcombine and gmap as to have both map-accum
> and map.
That is exactly why I flushed gmap.
--
John Cowan http://www.ccil.org/~cowan xxxxxx@ccil.org
Principles. You can't say A is made of B or vice versa.
All mass is interaction. --Richard Feynman