fmap
Super simple fmap function, that takes a function and a functor and calls the functor fmap method, passing the function.
var fmap = ; { return a + 2;} ; //=> Just(5);; //=> Nothing();
Super simple fmap function, that takes a function and a functor and calls the functor fmap method, passing the function.
var fmap = ; { return a + 2;} ; //=> Just(5);; //=> Nothing();
npm i fmap
2
1.0.0
MIT