on develop help sign in
Merge pull request #406 from hamishmack/ghc810

Fix for ghc 8.10

commitddf89778ed56373423fb38c6704a179278fdd49c authorRyan Trinkle <ryan@trinkle.org> dateMon 19 Oct 2020, 09:50 (6 years ago) parent1d6ce619e85f4a
1 file changed+2−2
reflex-dom-core/src/Reflex/Dom/Prerender.hs+2−2
reflex-dom-core/src/Reflex/Dom/Prerender.hs+2−2
@@ -205,7 +205,7 @@ instance Monad m => MonadReflexCreateTrigger t (UnrunnableT js t m) where
205205 newFanEventWithTrigger _ = unrunnable
206206instance Monad m => MonadFix (UnrunnableT js t m) where
207207 mfix _ = unrunnable
208−instance Monad m => MonadHold t (UnrunnableT js t m) where
208+instance (Monad m, MonadHold t m) => MonadHold t (UnrunnableT js t m) where
209209 hold _ _ = unrunnable
210210 holdDyn _ _ = unrunnable
211211 holdIncremental _ _ = unrunnable
@@ -228,7 +228,7 @@ instance (Reflex t, Monad m) => DomRenderHook t (UnrunnableT js t m) where
228228 withRenderHook _ _ = unrunnable
229229 requestDomAction _ = unrunnable
230230 requestDomAction_ _ = unrunnable
231−instance (Reflex t, Monad m) => Prerender JS' t (UnrunnableT js t m) where
231+instance (Reflex t, Monad m, MonadHold t m) => Prerender JS' t (UnrunnableT js t m) where
232232 type Client (UnrunnableT js t m) = UnrunnableT js t m
233233 prerender _ _ = unrunnable
234234