| Crates.io | monadic-traits |
| lib.rs | monadic-traits |
| version | 0.1.0 |
| created_at | 2025-11-07 19:24:06.148761+00 |
| updated_at | 2025-11-07 19:24:06.148761+00 |
| description | Functor, Applicative and monad traits + nightly Try/? support |
| homepage | |
| repository | https://github.com/Eixix/monadic-traits |
| max_upload_size | |
| id | 1922051 |
| size | 8,595 |
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
This crate relies on the following nightly features:
try_trait_v2
control_flow_enum
never_type
Install nightly:
rustup override set nightly