Trait Pure
rust_fp_categories::pure
pub trait Pure { type Elm; type M: Pure<Elm = U>; pub fn pure(value: Self::Elm) -> Self::M; }
type Elm
type M: Pure<Elm = U>
pub fn pure(value: Self::Elm) -> Self::M
impl<A> Pure for Rc<A>
type Elm = A
type M = Rc<U>
impl<A> Pure for Box<A>
type M = Box<U>
impl<A> Pure for Option<A>
type M = Option<U>
impl<A, E> Pure for Result<A, E>
type M = Result<U, E>
impl<A> Pure for Vec<A>
type M = Vec<U>