[Haskell-cafe] name for monad-like structure?

Tony Morris tonymorris at gmail.com
Tue Apr 28 18:58:31 EDT 2009


Michael Vanier wrote:
> I've stumbled upon a structure that is like a weaker version of a
> monad, one that supports return and >> but not >>=.  Has anyone seen
> this before, and if so, does it have a standard name?
>
> Mike
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
Are you sure it supports
(>>) :: m a -> m b -> m b

and not
mplus :: m a -> m a -> m a ?

-- 
Tony Morris
http://tmorris.net/




More information about the Haskell-Cafe mailing list