import Data.Monoid;
mempty :: a -> m a
mempty = return
mappend :: (a -> m b) -> (b -> m c) -> (a -> m c)
mappend = (>=>)
As of March 2020, School of Haskell has been switched to read-only mode.
import Data.Monoid;
mempty :: a -> m a
mempty = return
mappend :: (a -> m b) -> (b -> m c) -> (a -> m c)
mappend = (>=>)