rsmonad: Monads in stable Rust (+ Applicative, Alternative, Functor, Monoid, ...)

This page summarizes the projects mentioned and recommended in the original post on /r/rust

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • rsmonad

    Haskell-style monads in Rust.

    Here's the open-source (LGPL) crate in its so-far entirety: GitHub/crates.io

  • SaaSHub

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

    SaaSHub logo
  • cats

    Lightweight, modular, and extensible library for functional programming.

    As a former functional programmer in Scala, please do not go deep into the Category Theory programming. Scala has libraries like this one called "Cats", a cute shortened name for "Category Theory", but code that makes heavy use of these constructs is not understandable to other programmers. Other than using Monads as a design pattern for things like Options (which can be "Some" or "None"), Futures or Promises (which is used for asynchronous programming), and a few other things, please do not make heavy use of category theory constructs in real programming projects that will have other developers working on them. It is a rabbit hole that may be fun but is not super practical. Sure, write pure functions without side effects, but do not use the words "Bimonad", "Invariant Monoidal", and "Semigroup" in your code. The most common, practical application/use of functional programming is basic things like closures, .map, .filter, maybe chaining maps with like a .flatmap or whatever your programming language uses instead of chain or flatmap, and SQL that uses keywords like WHERE which can be represented in code by using a call to .filter. Like the place where these constructs are used most is in data processing like with SQL, ETL (Extract Transform, Load) jobs, Java's MapReduce on Hadoop, Scala's Apache Spark, and other data processing type things. Haskell is not a popular programming language in real world projects for a number of reasons and one of them is the heavy and sometimes impractical use of Category Theory.

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

  • Build your own image gallery CMS

    3 projects | dev.to | 12 Jun 2024
  • Heroku Postgres is now based on AWS Aurora

    3 projects | news.ycombinator.com | 31 May 2024
  • Build authenticated and paywall pages with Stripe and Xata

    3 projects | dev.to | 8 May 2024
  • Extension is a pnp, zero-config, cross-browser extension development tool

    1 project | news.ycombinator.com | 30 Apr 2024
  • npx extension create my-extension – zero-config web extension development tool

    1 project | news.ycombinator.com | 29 Apr 2024