News for hackers. Stuff that matters.
Re:Idiomatic Monads in Rust by kccqzy on Thursday April 04, 2019 @12:53PM (#19574469)
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

There are no comments on this comment yet.