Something went wrong. Try again.
Showcasing the power of iterators
Something went wrong. Try again.
Go 54%
Jupyter Notebook 46%
README.md
Iterator power #
A collection of examples to demonstrate the power of iterators
for Go developers who could not create their own iterators to
use for/range until Go 1.23 (2024-08-13).
Many of the examples are inspired by Python built-in generators and those from the itertools standard package (which in turn are inspired by functions from Haskell, Standard ML, or APL).
References #
-
Posts by John Arundel:
- Iterators in Go (sales pitch)
- Iterators in Go: the iter package and new stdlib APIs
- Go evolves in the wrong direction a critique of iterators.
-
Packages