pub trait Functor {
    type Layer<X>;

    fn fmap<F, A, B>(input: Self::Layer<A>, f: F) -> Self::Layer<B>
    where
        F: FnMut(A) -> B
; }

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

Implementors§