pub trait Applicative<'a, A>: GenType + Functor<'a, A> {
    type PureT<T>
    where
        T: 'a,
        A: 'a
; fn pure(a: Self::PureT<A>) -> Self::Type<Self::PureT<A>>; fn app<F, B>(self, f: Self::Type<F>) -> Self::Type<B>
    where
        F: Fn(A) -> B + 'a,
        B: 'a
; }

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

Implementors§