Trait lubeck::prelude::Functor

source ·
pub trait Functor<'a, A>: GenType {
    fn fmap<F, B: 'a>(self, f: F) -> Self::Type<B>
    where
        F: Fn(A) -> B + 'a
; }

Required Methods§

Implementations on Foreign Types§

Implementors§