on develop help sign in
Add some more NotReady instances
commitc489148702295aa3161d195a09ca34244bdfdcf7 authorAli Abrar <aliabrar@gmail.com> dateSun 17 Feb 2019, 22:23 (8 years ago) parent8dc43b9
1 file changed+8
src/Reflex/NotReady/Class.hs+8
src/Reflex/NotReady/Class.hs+8
@@ -39,6 +39,10 @@ instance NotReady t m => NotReady t (ReaderT r m) where
3939 notReadyUntil = lift . notReadyUntil
4040 notReady = lift notReady
4141
42+instance (NotReady t m, Monoid w) => NotReady t (WriterT w m) where
43+ notReadyUntil = lift . notReadyUntil
44+ notReady = lift notReady
45+
4246instance NotReady t m => NotReady t (PostBuildT t m) where
4347 notReadyUntil = lift . notReadyUntil
4448 notReady = lift notReady
@@ -51,6 +55,10 @@ instance NotReady t m => NotReady t (DynamicWriterT t w m) where
5155 notReadyUntil = lift . notReadyUntil
5256 notReady = lift notReady
5357
58+instance (NotReady t m, Monoid w) => NotReady t (BehaviorWriterT t w m) where
59+ notReadyUntil = lift . notReadyUntil
60+ notReady = lift notReady
61+
5462instance NotReady t m => NotReady t (QueryT t q m) where
5563 notReadyUntil = lift . notReadyUntil
5664 notReady = lift notReady