pub trait Pure<'a>: Functor<'a> {
// Required method
fn pure<A: 'a + Send>(a: A) -> Self::F<A>;
}Expand description
Part of Applicative responsible for Haskell’s value lifting, pure.
pub trait Pure<'a>: Functor<'a> {
// Required method
fn pure<A: 'a + Send>(a: A) -> Self::F<A>;
}Part of Applicative responsible for Haskell’s value lifting, pure.