iter
Experimental lazy iterator library to test the capabilities of go generics in 1.18 (by urandom)
stream
A Go library of functional-style generic filter-map-reduce operations (by AlexanderYastrebov)
iter | stream | |
---|---|---|
3 | 2 | |
3 | 19 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | over 1 year ago | |
Go | Go | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
iter
Posts with mentions or reviews of iter.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-18.
-
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
stream
Posts with mentions or reviews of stream.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-18.
-
A small collection utility library
Did you hear about stream? Although unpolished, find its chainable calls approach nice, like in Rust, Ruby or JS.
- Go Chainable: .map().filter().reduce() in Go
What are some alternatives?
When comparing iter and stream you can also consider the following projects:
go_chainable - With generics, allowing chainable .Map(func(...)).Reduce(func(...)) syntax in go
go-extlib - Go Extended Lib
genesis - All generic functions for Go you ever need!