monadic-traits 0.1.0

Functor, Applicative and monad traits + nightly Try/? support
Documentation
  • Coverage
  • 18.75%
    3 out of 16 items documented0 out of 9 items with examples
  • Size
  • Source code size: 8.0 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.0 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 18s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Eixix/monadic-traits
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Eixix

monadic-traits

A lightweight functional programming toolkit for Rust nightly, mainly for experimenting, providing:

  • Functor, Applicative, and Monad traits
  • A custom Maybe<T> type
  • Full nightly ? operator support via Try and FromResidual
  • Examples and tests

🚀 Nightly Requirement

This crate relies on the following nightly features:

  • try_trait_v2
  • control_flow_enum
  • never_type

Install nightly:

rustup override set nightly