[][src]Trait fp_core::functor::Functor

pub trait Functor<A, B>: HKT<A, B> {
    fn fmap<F>(self, f: F) -> Self::Target
    where
        F: FnOnce(A) -> B
; }

Required methods

fn fmap<F>(self, f: F) -> Self::Target where
    F: FnOnce(A) -> B, 

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

Loading content...