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
  5. ▲ 2
    Monads for Go, using generics (Option, Result, Either...)
    story by Seb-C · 2022-11-17 · 0 comments
  6. ▲ 3
    Monads and popular FP abstractions, powered by Go 1.18 Generics
    story by ljahier · 2022-06-04 · 3 comments
  7. ▲ 3
    Monads and popular FP abstractions, based on Go 1.18 Generics
    story by samber · 2022-05-31 · 2 comments
  8. ▲ 3
    Monads and Popular FP Abstractions Based on Go Generics (Option, Result, Either)
    story by database64128 · 2022-05-23 · 0 comments