[Haskell-cafe] monad combinator

Christian Maeder maeder at tzi.de
Thu Feb 16 10:36:06 EST 2006


Udo Stenzel wrote:
> (*>) :: Monad m => m a -> m b -> m a
> m *> n = do a <- m ; n ; return a

Right, that one is really useful. I named it (<<), though, conforming to 
  (>>=) versus (=<<).

Christian


More information about the Haskell-Cafe mailing list