Go Functional programming

Open-source Go projects categorized as Functional programming

Top 23 Go Functional programming Projects

Functional programming
  1. fp-go

    functional programming library for golang

    Project mention: Functional Programming in Go | news.ycombinator.com | 2024-11-08

    I've tried going down this route myself by using libraries like fp-go[1]. I think this particular project has done a great job, but I ultimately opted not to pursue functional programming in Go for a few reasons:

    - Ergonomics weren't the greatest when working with monads such as options and results. I think pattern matching is needed here, but concepts like those go against Go's core design philosophy.

    - I suspect there are several cases where runtime performance is an issue, but admittedly did not investigate this.

    - Perhaps most importantly, it deviates from the way most people read and write Go, and less importantly, LLMs struggle too.

    Because of these reasons, I came to the conclusion that the advantages were not worth the trade-offs.

    Perhaps somebody will create a garbage-collected Rust-like language in the future and bridge the gap between the two languages.

    [1] - https://github.com/IBM/fp-go

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. goderive

    Derives and generates mundane golang functions that you do not want to maintain yourself

  4. neva

    🌊 Next-generation programming language that solves programmers' problems

    Project mention: How Programming Will Look In the Future? | dev.to | 2025-01-21

    Nevalang does exactly that. It's a modern language built around dataflow that treats programs as message-passing graphs rather than sequences of instructions:

  5. ink

    Ink is a minimal programming language inspired by modern JavaScript and Go, with functional style. (by thesephist)

  6. Koazee

    A StreamLike, Immutable, Lazy Loading and smart Golang Library to deal with slices.

  7. gubrak

    ⚙️ Golang functional utility library with syntactic sugar. It's like lodash, but for Go

  8. go-functional

    go-functional is a library of iterators to augment the standard library

  9. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  10. fpGo

    Monad, Functional Programming features for Golang

  11. genesis

    All generic functions for Go you ever need! (by life4)

  12. fp-go

    fp-go is a collection of Functional Programming helpers powered by Golang 1.18+ generics. (by repeale)

  13. functional-go

    This library is inspired by functional programming - Clojure

  14. fuego

    Functional Experiment in Golang (by seborama)

  15. underscore

    🌟 Useful functional programming helpers for Go (by rjNemo)

  16. gogu

    A comprehensive, reusable and efficient concurrent-safe generics utility functions and data structures library.

  17. stream

    Go Stream, like Java 8 Stream. (by youthlin)

  18. tau

    A functional interpreted programming language with a minimalistic design. (by NicoNex)

  19. golem

    pure functional and generic programming for Go

  20. opt

    A simple and ergonomic optional type for Go. (by Southclaws)

  21. gomad

    Lightweight functional data and side effects manipulation patterns in Golang with no dependencies.

  22. funl

    FunL programming language

  23. lispy

    A Lisp-dialect written in Go featuring a library written in itself, a REPL, tail-optimized recursion, macros, and a meta-circular interpreter. (by amirgamil)

  24. std

    An enhanced version of the standard library based the new Generics feature. (by go-board)

  25. go-strm

    A rich Map/Reduce API in Go

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Functional programming discussion

Log in or Post with

Go Functional programming related posts

  • Glojure: Clojure interpreter hosted on Go, with extensible interop support

    12 projects | news.ycombinator.com | 29 Nov 2024
  • Functional Programming in Go

    2 projects | news.ycombinator.com | 8 Nov 2024
  • Zb: An Early-Stage Build System

    16 projects | news.ycombinator.com | 19 Sep 2024
  • Colima k8s nix setup

    4 projects | dev.to | 16 Apr 2024
  • IBM/fp-go: functional programming library for golang

    1 project | /r/functionalprogramming | 19 Aug 2023
  • Functional Programming Library for Golang by IBM

    8 projects | news.ycombinator.com | 17 Aug 2023
  • Write functional-like code with Go

    1 project | news.ycombinator.com | 10 Aug 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 14 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

What are some of the best open-source Functional programming projects in Go? This list will help you:

# Project Stars
1 fp-go 1,729
2 goderive 1,253
3 neva 782
4 ink 566
5 Koazee 529
6 gubrak 491
7 go-functional 490
8 fpGo 352
9 genesis 348
10 fp-go 309
11 functional-go 181
12 fuego 143
13 underscore 111
14 gogu 102
15 stream 91
16 tau 59
17 golem 47
18 opt 35
19 gomad 30
20 funl 23
21 lispy 21
22 std 19
23 go-strm 14

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Go is
the 4th most popular programming language
based on number of references?