Trait hetseq::Functor
[−]
[src]
pub trait Functor<F> { type Output; fn fmap(self, _: F) -> Self::Output; }
Associated Types
type Output
Required Methods
Implementors
impl<F> Functor<F> for List<()>
impl<F> Functor<F> for Queue<()>
impl<X, H, T, O, U> Functor<X> for List<(H, List<T>)> where
List<T>: Functor<X, Output = List<U>>,
X: Fn<(H,), Output = O>,impl<X, H, T, O, U> Functor<X> for Queue<(Queue<H>, T)> where
Queue<H>: Functor<X, Output = Queue<U>>,
X: Fn<(T,), Output = O> + Clone,