Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRFI 121, 158: Generators and Accumulators #17

Open
lassik opened this issue Jan 25, 2020 · 0 comments
Open

SRFI 121, 158: Generators and Accumulators #17

lassik opened this issue Jan 25, 2020 · 0 comments

Comments

@lassik
Copy link
Collaborator

lassik commented Jan 25, 2020

121 (Generators) has been withdrawn in favor of 158 (Generators and Accumulators). IMHO 158 is definitely worth having. If 158 is a compatible superset of 121, I guess it doesn't hurt to have both. However, if there isn't much existing Scheme code depending on 121 it may be best to encourage everyone to switch to 158.

No particular support for these SRFIs is needed in order to return a generator or an accumulator from some code - those are just ordinary closures conforming to very simple conventions. These SRFIs contain ready-made higher-order functions to work with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant