Test run and implementation note Wolfgang Corcoran-Mathe (21 Apr 2021 03:46 UTC)
Re: Test run and implementation note John Cowan (23 Apr 2021 15:57 UTC)
Re: Test run and implementation note Wolfgang Corcoran-Mathe (23 Apr 2021 18:21 UTC)

Test run and implementation note Wolfgang Corcoran-Mathe 21 Apr 2021 03:46 UTC

Hi all,

Thanks to John and Arvydas for their work on the latest draft.  I did
a successful run of the tests on chibi-scheme, and a quick review of
the sample implementation.  (I had an issue with gdelete-duplicates,
but realized this procedure had been deleted while writing it up.)

I'm not sure of the rationale for the gcompose procedures.  Why write
(gcompose-right gbar gfoo make-gen) rather than
(gbar (gfoo (make-gen)))?  If the generator operations are curried or
cut, what benefit do the gcompose procedures offer over the more
familiar compose-left / -right forms of SRFI 210?  Why not write

    ((compose-left (cut gfilter even? <>)
                   (cut ggroup <> 5))
     (make-iota-generator 100))

instead of the similar example in the SRFI document?  Perhaps I've
missed something.

The examples for these procedures also contain erroneous calls to
ggroup; the first argument should be the generator.

Regards,

--
Wolfgang Corcoran-Mathe  <xxxxxx@sigwinch.xyz>

"To a wise man, the whole earth is open, because the true country of a
virtuous soul is the entire universe." --Democritus