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

WIP: iterators #29

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

WIP: iterators #29

wants to merge 11 commits into from

Conversation

orsinium
Copy link
Member

@orsinium orsinium commented Sep 24, 2023

The package iters (or iterators, I'm not 100% sure about the name yet) provides functions for lazy iteration. It's useful for piping a large amount of data. Like a channel but for when you don't need concurrency.

Inspired by Coroutines for Go blog post by Russ Cox. I don't think Go needs coroutines but I think it needs iterators like in Rust. This package provides it.

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