6 releases

new 0.3.2 Feb 17, 2025
0.3.1 Feb 13, 2025
0.2.1 Feb 6, 2025
0.1.0 Feb 4, 2025

#342 in Programming languages

Download history 264/week @ 2025-02-03 186/week @ 2025-02-10

450 downloads per month

Apache-2.0

160KB
2.5K SLoC

Rustica

Rustica is a library designed to make functional programming features easily accessible in Rust. It provides a comprehensive set of type classes and utilities commonly found in functional programming languages, but some features are still missing or unimplemented.

Crates.io Documentation

Features

Rustica currently includes the following features:

  • Categories

    • Higher-Kinded Types
    • Applicative
    • Monad
    • Composable
    • Category
    • Arrow
    • Semigroup
    • Monoid
    • Evaluate
    • Foldable
    • Contravariant Functor
    • Lens
    • Sequence
  • Monads

    • Async Monad
    • Cont
    • Writer
    • Reader
    • State
    • Validated
    • Either
    • Maybe
    • IO
    • Free(Work in Progress)
  • Transformers

    • IdentityT(unimplemented)

For detailed documentation, please visit docs.rs/rustica.

Dependencies

~3–9.5MB
~87K SLoC