[][src]Trait do_notation::Lift

pub trait Lift<A> {
    pub fn lift(a: A) -> Self;
}

Lift a value inside a monad.

Required methods

pub fn lift(a: A) -> Self[src]

Lift a value into a default structure.

Loading content...

Implementations on Foreign Types

impl<A> Lift<A> for Option<A>[src]

impl<A, E> Lift<A> for Result<A, E>[src]

Loading content...

Implementors

Loading content...