mtl
mtl copied to clipboard
More general MonadAccum instance missing
There is an instance Monoid w => MonadAccum w (AccumT w Identity)
:
https://github.com/haskell/mtl/blob/6be8cb55ca9a8bfa6111e3004e4b56b91ed5edcc/Control/Monad/Accum.hs#L163
But a more general instance that should exist would be:
instance (Monoid w, Monad m) => MonadAccum w (AccumT w m)`