#functional-programming #monads #monoid #pure #bind #functor #semigroup

nightly rust-fp-categories

A Functional Programming Library in Rust, Category

5 releases

0.0.5 Dec 12, 2020
0.0.4 Dec 12, 2020
0.0.3 Dec 9, 2020
0.0.2 Dec 8, 2020
0.0.1 Dec 3, 2020

#2041 in Rust patterns

Download history 58/week @ 2024-11-13 57/week @ 2024-11-20 59/week @ 2024-11-27 61/week @ 2024-12-04 77/week @ 2024-12-11 39/week @ 2024-12-18 5/week @ 2024-12-25 6/week @ 2025-01-01 18/week @ 2025-01-08 19/week @ 2025-01-15 22/week @ 2025-01-22 18/week @ 2025-02-05 24/week @ 2025-02-12 2/week @ 2025-02-19 21/week @ 2025-02-26

65 downloads per month
Used in 6 crates (3 directly)

Custom license

16KB
555 lines

rust-fp

rust-fp is a library for functional programming in Rust.

Install

[dependencies]
rust-fp-categories = "0.0.1"
rust-fp-pfds = "0.0.1"

Type-classes for categories

type-class j5ik2o/rust-fp JasonShin/fp-core.rs kitfre/Kinder 14427/hkt.rs aoprisan/func
Functor -
Pure - - -
Apply - - -
Applicativie(Pure+Apply) -
Bind - - -
Monad(Applicative+Bind) -
Empty - - -
Semigroup - - -
Monoid(Empty+Semigroup) -
Foldable - -
Show - - - -
HList - - - -
TailRec - - - -

Purely functional data structures

data name j5ik2o/rust-fp aoprisan/func
Stack -
Set -
Lazy -
IO -
Free -
Computation -

No runtime deps