[][src]Trait funlib::Applicative

pub trait Applicative<B>: Functor<B> {
    fn pure_(value: B) -> Self::M
    where
        Self: HKT<B, A = B>
;
fn ap<F>(&self, f: Self::M) -> Self::M
    where
        F: Fn(&Self::A) -> B,
        Self: HKT<F>
; }

Required methods

fn pure_(value: B) -> Self::M where
    Self: HKT<B, A = B>, 

fn ap<F>(&self, f: Self::M) -> Self::M where
    F: Fn(&Self::A) -> B,
    Self: HKT<F>, 

Loading content...

Implementations on Foreign Types

impl<A, B> Applicative<B> for Option<A>[src]

impl<A, B> Applicative<B> for Box<A>[src]

impl<A, B> Applicative<B> for Rc<A>[src]

impl<A, B> Applicative<B> for Vec<A>[src]

Loading content...

Implementors

Loading content...