Trait Lift
do_notation
pub trait Lift<A> { pub fn lift(a: A) -> Self; }
Lift a value inside a monad.
pub fn lift(a: A) -> Self
Lift a value into a default structure.
impl<A> Lift<A> for Option<A>
impl<A, E> Lift<A> for Result<A, E>