go-monads
go-functional
go-monads | go-functional | |
---|---|---|
3 | 6 | |
114 | 295 | |
- | - | |
0.0 | 8.6 | |
almost 2 years ago | 20 days ago | |
Go | Go | |
- | 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-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/
go-functional
- Write functional-like code with Go
- Functional Programming in Go 1.18
- I've been working on offering a functional-like experience with Go 1.18's generics
-
Golang FP for error handling?
In my hobby project I've solved this in Go 1.18 by stealing Rust's Result[T] type and implementing it in Go: https://github.com/BooleanCat/go-functional/
- A functional programming library for Go 1.18
- I wrote a library to demonstrate functional programming in Go 1.18
What are some alternatives?
algo2 - Some algorithms written using Go generics.
gogu - A comprehensive, reusable and efficient concurrent-safe generics utility functions and data structures library.
gtl - Golang Template Library (GTL). Common data structures using Golang generics.
underscore - 🌟 Useful functional programming helpers for Go
lo - 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
fp-go - fp-go is a collection of Functional Programming helpers powered by Golang 1.18+ generics.
fuego - Functional Experiment in Golang
functools - Functional tools in Go 1.18 using newly introduced generics
valor - Go option and result types that optionally contain a value
mo - 🦄 Monads and popular FP abstractions, powered by Go 1.18+ Generics (Option, Result, Either...)
dogs - Make Go functional with dogs