Trait rust2fun::monad::Monad

source ·
pub trait Monad<B>: FlatMap<B> + Pure { }
Expand description

A monad. Allows composition of dependent effectful functions. See the module level documentation for more.

Implementors§

source§

impl<T, B> Monad<B> for Twhere T: FlatMap<B> + Pure,