on develop help sign in
Revert "Add instances for MonadJSM for reflex monad transformers"

This reverts commit 628451108e2a8c61fa1c06bfeba78c75e67f279a.

commit2bc47782128a9c71222816afca407997d47f043a authorRyan Trinkle <ryan.trinkle@gmail.com> dateMon 8 May 2017, 23:26 (9 years ago) parent3f884dd
2 files changed−25
reflex-dom-core/reflex-dom-core.cabal−1 reflex-dom-core/src/Reflex/Dom/Orphans.hs−24
reflex-dom-core/reflex-dom-core.cabal−1
@@ -94,7 +94,6 @@ library
9494 Reflex.Dom.Location
9595 Reflex.Dom.Main
9696 Reflex.Dom.Old
97− Reflex.Dom.Orphans
9897 Reflex.Dom.Time
9998 Reflex.Dom.WebSocket
10099 Reflex.Dom.Widget
reflex-dom-core/src/Reflex/Dom/Orphans.hsdeleted−24
@@ -1,24 +0,0 @@
1−{-# LANGUAGE CPP #-}
2−{-# OPTIONS_GHC -fno-warn-orphans #-}
3−module Reflex.Dom.Orphans where
4−
5−#ifndef ghcjs_HOST_OS
6−import Control.Monad.Trans
7−import GHCJS.DOM.Types (MonadJSM (..))
8−import Reflex.DynamicWriter
9−import Reflex.EventWriter
10−import Reflex.PostBuild.Base
11−import Reflex.Requester.Base
12−
13−instance MonadJSM m => MonadJSM (DynamicWriterT t w m) where
14− liftJSM' = lift . liftJSM'
15−
16−instance MonadJSM m => MonadJSM (EventWriterT t w m) where
17− liftJSM' = lift . liftJSM'
18−
19−instance MonadJSM m => MonadJSM (PostBuildT t m) where
20− liftJSM' = lift . liftJSM'
21−
22−instance MonadJSM m => MonadJSM (RequesterT t request response m) where
23− liftJSM' = lift . liftJSM'
24−#endif