lubeck 0.0.0-prealpha.5-abandoned

Functional programming framework written in cutting edge rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::prelude::Functor;

impl<'a, A, E> Functor<'a, A> for Result<A, E> {
    fn fmap<F, B>(self, f: F) -> Self::Type<B>
    where
        F: Fn(A) -> B + 'a,
        B: 'a,
    {
        self.map(f)
    }
}