on develop help sign in
Merge pull request #397 from malte-v/patch-1

Add `now` to the `MonadHold` instance for `UnrunnableT`

commitbb433e80227f3c5d626c4e2e02b73108c85f7abc authorAli Abrar <aliabrar@gmail.com> dateFri 6 Nov 2020, 10:14 (6 years ago) parentddf89779df7e21
1 file changed+1
reflex-dom-core/src/Reflex/Dom/Prerender.hs+1
reflex-dom-core/src/Reflex/Dom/Prerender.hs+1
@@ -211,6 +211,7 @@ instance (Monad m, MonadHold t m) => MonadHold t (UnrunnableT js t m) where
211211 holdIncremental _ _ = unrunnable
212212 buildDynamic _ _ = unrunnable
213213 headE _ = unrunnable
214+ now = unrunnable
214215instance Monad m => MonadSample t (UnrunnableT js t m) where
215216 sample _ = unrunnable
216217instance Monad m => MonadIO (UnrunnableT js t m) where