On Mon, Jun 24, 2013 at 2:53 PM, Dan Burton <danburton.email@gmail.com> wrote:
I also agree with Henning.If anything, the 1st instance could be a ContT instance for Monoid.instance (Monoid r, Monad m) => Monoid (ContT r m a) wheremempty = ContT $ const $ return memptym `mappend` n = ContT $ \ c -> liftM2 mappend (runContT m c) (runContT n c)That way both behaviors are easily accessible. Is there any other sensible ContT instance for Monoid?