Merge pull request #270 from reflex-frp/fix-gc-test-build-ghc-8.2
Fix gc test build ghc 8.2 and other cpp cleanup
commit0be40cfd9f8bbcae719575355e5c143152432ec0
authorLuigy Leon <luichi.19@gmail.com>
dateSat 5 Jan 2019, 01:58 (8 years ago)
parent562e51f32b06a1
reflex-dom-core/src/Reflex/Dom/Core.hs−3
@@ -1,10 +1,7 @@
11-- Disable haddocks on this module due to a bug on haddocks when selectively
22-- reexporting on ghc > 8.2.
33-- https://github.com/haskell/haddock/issues/979
4−{-# LANGUAGE CPP #-}
5−#if __GLASGOW_HASKELL__ < 840
64{-# OPTIONS_HADDOCK hide, prune, ignore-exports #-}
7−#endif
85module Reflex.Dom.Core (module X) where
96
107import Reflex as X hiding (askEvents)
reflex-dom-core/test/gc.hs−1
@@ -8,7 +8,6 @@ import Control.Exception
88import Control.Monad
99import Control.Monad.IO.Class
1010import Data.Int
11−import GHC.Stats
1211import Language.Javascript.JSaddle.Warp
1312import Reflex.Dom.Core
1413import Reflex.Time
reflex-dom/src/Reflex/Dom.hs−3
@@ -1,10 +1,7 @@
11-- Disable haddocks on this module due to a bug on haddocks when selectively
22-- reexporting on ghc > 8.2.
33-- https://github.com/haskell/haddock/issues/979
4−{-# LANGUAGE CPP #-}
5−#if __GLASGOW_HASKELL__ < 840
64{-# OPTIONS_HADDOCK hide, prune, ignore-exports #-}
7−#endif
85module Reflex.Dom (module X) where
96
107import Foreign.JavaScript.Orphans ()