[][src]Trait higher_cat::Apply

pub trait Apply<A, F, B>: Functor<A, B> + Lift3<A, F, B> where
    F: Fn(A) -> B, 
{ fn apply(self, f: Self::Target2) -> Self::Target1; }

Apply takes an F<Fn(A) -> B> and applies it to an F<A> to produce an F<B>.

Required methods

fn apply(self, f: Self::Target2) -> Self::Target1

Loading content...

Implementations on Foreign Types

impl<A, F, B> Apply<A, F, B> for Option<A> where
    F: Fn(A) -> B, 
[src]

impl<A, F, B, E> Apply<A, F, B> for Result<A, E> where
    F: Fn(A) -> B, 
[src]

impl<A, F, B> Apply<A, F, B> for Vec<A> where
    A: Clone,
    F: Fn(A) -> B + Clone
[src]

impl<A, F, B> Apply<A, F, B> for VecDeque<A> where
    A: Clone,
    F: Fn(A) -> B + Clone
[src]

impl<A, F, B> Apply<A, F, B> for LinkedList<A> where
    A: Clone,
    F: Fn(A) -> B + Clone
[src]

Loading content...

Implementors

Loading content...