Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnchildren/go-iter
Generic iterators from go_generics
https://github.com/johnchildren/go-iter
code-generation generic golang iterator
Last synced: about 20 hours ago
JSON representation
Generic iterators from go_generics
- Host: GitHub
- URL: https://github.com/johnchildren/go-iter
- Owner: johnchildren
- License: bsd-3-clause
- Created: 2018-08-11T08:49:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-12T15:37:14.000Z (about 6 years ago)
- Last Synced: 2024-10-11T23:42:29.016Z (27 days ago)
- Topics: code-generation, generic, golang, iterator
- Language: Go
- Size: 11.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-iter
Generic iterators from go_genericsJust a little experiment inspired by https://github.com/scylladb/go-set for now.
Basically I just want to implement something very similar to Rust's Iterator trait which seems like it might
be possible with go_generics and generic interfaces. I'm not sure how ergonomic it will be to use though,
particularly when implementing Map and Filter equivilents.