-
Notifications
You must be signed in to change notification settings - Fork 149
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
docs: add Range
example from Effekt
#7246
base: master
Are you sure you want to change the base?
Conversation
I think we should distinguish the benchmarks from the examples. But I guess this one is an example? |
This one is from benchmarks https://github.com/effect-handlers/effect-handlers-bench/blob/main/benchmarks/effekt/iterator/main.effekt |
But I think it also serves as a nice example |
Its a bit of a weird use of effects but I think its actually a nice example to look at to learn about effect semantics and how it interacts with mutable state |
I don't know if this is too simple, but maybe it serves as a good introduction.
Related to #7093
Related to #7218