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

Allow conversion between Iterator and RefIterator #32

Open
V0ldek opened this issue May 5, 2020 · 0 comments
Open

Allow conversion between Iterator and RefIterator #32

V0ldek opened this issue May 5, 2020 · 0 comments

Comments

@V0ldek
Copy link
Owner

V0ldek commented May 5, 2020

Currently there is no way to wrap an iterator into a RefIterator in a natural way. An iterator that has no impure arguments or sideeffects can only be treated as an Iterator. There should be a way to label a pure Iterator returning function as one returning RefIterator.

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