@@ -1,4 +1,5 @@
11{-# LANGUAGE ConstraintKinds #-}
2+{-# LANGUAGE CPP #-}
23{-# LANGUAGE EmptyCase #-}
34{-# LANGUAGE FlexibleContexts #-}
45{-# LANGUAGE FlexibleInstances #-}
@@ -211,8 +212,10 @@ instance Monad m => MonadSample t (UnrunnableT js t m) where
211212 sample _ = unrunnable
212213instance Monad m => MonadIO (UnrunnableT js t m) where
213214 liftIO _ = unrunnable
215+#ifndef ghcjs_HOST_OS
214216instance Monad m => MonadJSM (UnrunnableT js t m) where
215217 liftJSM' _ = unrunnable
218+#endif
216219instance (Reflex t, Monad m) => PostBuild t (UnrunnableT js t m) where
217220 getPostBuild = unrunnable
218221instance Monad m => PrimMonad (UnrunnableT js t m) where