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
use crate::traits::Functor;

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