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

Re: SRFI 121: Generators

This page is part of the web mail archives of SRFI 121 from before July 7th, 2015. The new archives for SRFI 121 contain all messages, not just those from before July 7th, 2015.

On Wed, Feb 4, 2015 at 2:12 AM, <srfi-editors@xxxxxxxxxxxxxxxxx> wrote:
This announces the availability for discussion of

Scheme Request for Implementation 121


by Shiro Kawai, John Cowan, Thomas Gilray.

This is very interesting.  Generators are a powerful construct, and will ease the translation of code from languages like _javascript_ and Python.

One suggestion: in the Rationale section, explain why it's a good idea to provide generators in Scheme since they're so similar to streams.  It would be especially good to list specific use cases in which code is more easily expressed as generators than as streams, or in which generator-based code is more efficient than streams-based code.  This will be especially helpful for people new to Scheme.