2 ms·
They are the same. I believe it's deliberately written this way to make the comparison with monad more obvious. map :: Functor m => m a -> (a -> b
by kccqzy 8y ago
They are the same. I believe it's deliberately written this way to make the comparison with monad more obvious.
map :: Functor m => m a -> (a -> b) -> m b
ap :: Applicative m => m a -> m (a -> b) -> m b
bind :: Monad m => m a -> (a -> m b) -> m b