We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 30e8a5f + 9259208 commit f718724Copy full SHA for f718724
2 files changed
CHANGELOG.markdown
@@ -1,3 +1,7 @@
1
+Unreleased
2
+-----
3
+* Remove `Monoid` constraint from `MonadState` instance of `CPS.WriterT`
4
+
5
2.3.2 -- 2025-12-07
6
-----
7
* Add `Accum` monad.
Control/Monad/State/Class.hs
@@ -164,7 +164,7 @@ instance MonadState s m => MonadState s (ReaderT r m) where
164
state = lift . state
165
166
-- | @since 2.3
167
-instance (Monoid w, MonadState s m) => MonadState s (CPS.WriterT w m) where
+instance (MonadState s m) => MonadState s (CPS.WriterT w m) where
168
get = lift get
169
put = lift . put
170
0 commit comments