on develop help sign in
Fixes up the constraints on withEventWriterT
commitbd32b0b79ea0ba3b1dc286bc88aad7121a0c0fda authorDave Laing <dave.laing.80@gmail.com> dateWed 4 Oct 2017, 11:24 (9 years ago) parent6c54120
1 file changed+1−1
src/Reflex/EventWriter.hs+1−1
src/Reflex/EventWriter.hs+1−1
@@ -179,7 +179,7 @@ instance (MonadQuery t q m, Monad m) => MonadQuery t q (EventWriterT t w m) wher
179179 queryIncremental = lift . queryIncremental
180180
181181-- | Map a function over the output of a 'EventWriterT'.
182−withEventWriterT :: (Monoid w, Monoid w', Reflex t, MonadHold t m, MonadFix m)
182+withEventWriterT :: (Semigroup w, Semigroup w', Reflex t, MonadHold t m, MonadFix m)
183183 => (w -> w')
184184 -> EventWriterT t w m a
185185 -> EventWriterT t w' m a