Hacker GitHub

← All repos

samber/mo

View on GitHub ↗ ★ 3,432 Go

🦄 Monads and popular FP abstractions, powered by Go 1.18+ Generics (Option, Result, Either...)

8 mentions on Hacker News by 7 people: 4 stories, 4 comments · first 2022-05-23 · latest 2024-12-09

Mentions per year 8 mentions · busiest year 2022 (4)
20082026
  1. What do people think of this https://github.com/samber/mo ?
  2. A simple alternative is the combination of: - https://github.com/samber/lo - https://github.com/samber/mo The split is also nice as you can choose to just use the generic convenience functions from lo without the more FP related things…
    comment by PhilippGille · 2023-08-18 · in FP-Go: Functional programming library for Golang
  3. For those who would rather use an Either type instead of returning 2 variables in Go, I made this: https://github.com/samber/mo
    comment by samber · 2023-05-04 · in Error Handling Patterns
  4. Go generics allow all kinds of things https://github.com/samber/mo
    comment by ptman · 2023-03-14 · in Switching from C++ to Rust