projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor the FPTOOLS_CHECK_HTYPE macro
[ghc-base.git]
/
GHC
/
Desugar.hs
diff --git
a/GHC/Desugar.hs
b/GHC/Desugar.hs
index
a2c5da2
..
65dd645
100644
(file)
--- a/
GHC/Desugar.hs
+++ b/
GHC/Desugar.hs
@@
-1,3
+1,9
@@
+{-# LANGUAGE CPP
+ , NoImplicitPrelude
+ , Rank2Types
+ , ExistentialQuantification
+ #-}
+
-----------------------------------------------------------------------------
-- |
-- Module : GHC.Desugar
-----------------------------------------------------------------------------
-- |
-- Module : GHC.Desugar
@@
-18,7
+24,6
@@
module GHC.Desugar ((>>>), AnnotationWrapper(..), toAnnotationWrapper) where
import Control.Arrow (Arrow(..))
import Control.Category ((.))
import Data.Data (Data)
import Control.Arrow (Arrow(..))
import Control.Category ((.))
import Data.Data (Data)
-import Prelude hiding ((.))
-- A version of Control.Category.>>> overloaded on Arrow
#ifndef __HADDOCK__
-- A version of Control.Category.>>> overloaded on Arrow
#ifndef __HADDOCK__
@@
-34,4
+39,4
@@
f >>> g = g . f
data AnnotationWrapper = forall a. (Data a) => AnnotationWrapper a
toAnnotationWrapper :: (Data a) => a -> AnnotationWrapper
data AnnotationWrapper = forall a. (Data a) => AnnotationWrapper a
toAnnotationWrapper :: (Data a) => a -> AnnotationWrapper
-toAnnotationWrapper what = AnnotationWrapper what
\ No newline at end of file
+toAnnotationWrapper what = AnnotationWrapper what