gods
functools
gods | functools | |
---|---|---|
1 | 4 | |
0 | 177 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | over 1 year 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.
gods
-
Go Generics Facilitators
I've just finished porting my gods module (Go Data Structures) to make use of generics.
https://github.com/johan-bolmsjo/gods/tree/v2
It's not much, only a simple list and an AVL tree that I've carried with me for many years. Binary search trees are useful to solve some problems because they are ordered.
I was impressed with how polished the tools where. The go-lsp plugin just worked with the new generic types. I solved all compiler errors in the editor without actually compiling anything. Did not expect that level of polish. The modules introduction broke the editor integration for many release cycles. This seems much smoother.
functools
- Go Generics Facilitators
- Functional tools in Go 1.18 using newly introduced generics
-
functools: A Collection of Functional helpers using Go 1.18 Generics
Impl: https://github.com/rakeeb-hossain/functools/blob/rakeeb-hossain/lazy-iterator/iterator.go
What are some alternatives?
fut
modern-cpp-features - A cheatsheet of modern C++ language and library features.
generic - A collection of generic data structures written in Go.
gogu - A comprehensive, reusable and efficient concurrent-safe generics utility functions and data structures library.
async - experimental promises in go1.18 with generics
go2funk - Simple Golang API to use functional types in Golang, such as immutable List, Options, Try, Either...
dogs - Make Go functional with dogs
go-monads - experimental implementation of basic monads based on go2 generics draft
lo - 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
go - The Go programming language