[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] add SRFI: srfi-121; generators

From: John Cowan
Subject: Re: [PATCH] add SRFI: srfi-121; generators
Date: Thu, 21 Jan 2021 13:39:54 -0500

Back in July 2020, Mark Weaver wrote:

Also, the provided implementations of 'generator-find', 'generator-any'
and 'generator-every' are incorrect:

Shiro Kawai has now fixed these bugs, and they have been merged into SRFI 121.  Note that even if it doesn't become part of Guile's batteries-included, the code should still work on Guile as an R6RS library.  However, the upward compatible SRFI 158 provides more generator function as well as support for accumulators, the dual of generators.

Mark: I'm interested to know if you have a sketch of ideas for a more efficient implementation of SRFI 121/158.  You say it requires specific knowledge of Guile internals, but are you willing to sketch how you might do it?  Thanks.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]