Open turion opened 4 months ago
There is an instance Monoid w => MonadAccum w (AccumT w Identity):
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)`
Happy to send a PR if you want :)
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: