Go Chainable: .map().filter().reduce() in Go

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
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
featured
  1. go_chainable

    With generics, allowing chainable .Map(func(...)).Reduce(func(...)) syntax in go

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. stream

    A Go library of functional-style generic filter-map-reduce operations (by AlexanderYastrebov)

  4. go-extlib

    Go Extended Lib

    After taking a stab at some more functional approach with generics in Go — https://github.com/gtramontina/go-extlib — I do agree that some of it does feel shoehorned. Although for some other constructs, it feels quite nice. As I mentioned on the readme of the linked repository, this post https://hypirion.com/musings/type-safe-http-servers-in-go-vi... presents pros and cons nicely.

  5. iter

    Experimental lazy iterator library to test the capabilities of go generics in 1.18 (by urandom)

    I agree, the current implementation is really not sufficient, at least for this. I played around with lazy iteration a while back and found the current restrictions would make working with it an annoyance.

    I've placed some thoughts in the Readme [1] so I don't forget. Hopefully at least some of the restrictions will be dropped.

    1: https://github.com/urandom/iter

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Show HN: Automate CLI Commands with Go

    1 project | news.ycombinator.com | 4 Mar 2021
  • Building Event-Driven Go applications with Azure Cosmos DB and Azure Functions

    2 projects | dev.to | 25 Apr 2025
  • SSM|Terminal UI for SSH Written in Go

    1 project | news.ycombinator.com | 24 Apr 2025
  • Protecting NATS and the integrity of open source

    11 projects | news.ycombinator.com | 24 Apr 2025
  • Down the Rabbit Hole of creating a Home Lab

    19 projects | dev.to | 23 Apr 2025

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