go_chainable
iter
Our great sponsors
go_chainable | iter | |
---|---|---|
2 | 3 | |
124 | 3 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | over 2 years ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go_chainable
iter
-
Go streams (a look at what is possible with generics)
Came to pretty similar conclusions regarding the ergonomics myself: https://github.com/urandom/iter/blob/main/README.md
-
Go Chainable: .map().filter().reduce() in Go
I agree, the current implementation is really not sufficient, at least for this. I played around with lazy iteration a while back and found the current restrictions would make working with it an annoyance.
I've placed some thoughts in the Readme [1] so I don't forget. Hopefully at least some of the restrictions will be dropped.
1: https://github.com/urandom/iter
-
Exploring the upcoming generic capabilities
You can read the what I came up with on: https://github.com/urandom/iter
What are some alternatives?
proposal - Go Project Design Documents
genesis - All generic functions for Go you ever need!
b
go-extlib - Go Extended Lib
gtl - Golang Template Library (GTL). Common data structures using Golang generics.
go-generic-optional - Implementation of Optionals in Go using Generics
lo - 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
golang-set - A simple, battle-tested and generic set type for the Go language. Trusted by Docker, 1Password, Ethereum and Hashicorp.
go - The Go programming language
functional-go - This library is inspired by functional programming - Clojure
genny - Elegant generics for Go