[Haskell-cafe] class MonoidBreak?

Alex Jacobson alex at alexjacobson.com
Thu Jun 7 15:11:13 EDT 2007


Is there a standard class that looks something like this:

class (Monoid m) => MonoidBreak m where
     mbreak::a->m a->(m a,m a)

and it should follow some law like:

     m == uncurry mappend $ mbreak x m

-Alex-



More information about the Haskell-Cafe mailing list