1 2 3 4 5 6
module Bind where import Control.Monad bind :: Monad m => (a -> m b) -> m a -> m b bind f x = join $ fmap f x