go-monads
algo2
go-monads | algo2 | |
---|---|---|
3 | 1 | |
114 | 5 | |
- | - | |
0.0 | 0.0 | |
almost 2 years ago | about 1 year ago | |
Go | Go | |
- | BSD 3-clause "New" or "Revised" 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-monads
- Go-monads:a library that implements basic Haskell monads
- go-monads - first generic monad library for go based on Haskell monads
-
Golang FP for error handling?
Using an ADT like Either should work There is an implementation here https://github.com/OlegStotsky/go-monads Also this article looks interesting https://awalterschulze.github.io/blog/post/monads-for-goprogrammers/
algo2
What are some alternatives?
gtl - Golang Template Library (GTL). Common data structures using Golang generics.
cache - Mango Cache 🥠- Partial implementation of Guava Cache in Go (golang).
lo - 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
go-generics-cache - A key:value store/cache library written in Go generics. LRU, LFU, FIFO, MRU, Clock support.
gogu - A comprehensive, reusable and efficient concurrent-safe generics utility functions and data structures library.
Caffeine - A high performance caching library for Java
functools - Functional tools in Go 1.18 using newly introduced generics
slice - Go 1.18 Generics based slice package
mo - 🦄 Monads and popular FP abstractions, powered by Go 1.18+ Generics (Option, Result, Either...)
genericspreview - A preview of Go 1.18 generic language features
dogs - Make Go functional with dogs
pneumatic - Pneumatic is a practical type-safe functional library for Go that uses Go 1.18 generics