aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2008-08-12 23:03:58 +0000
committerDavid Waern <david.waern@gmail.com>2008-08-12 23:03:58 +0000
commit542b4ff142cc49240b220ed03ca392bba783b550 (patch)
tree5ed44041b30b3745a73bb6872b9f5b3e2ecda643 /src/Haddock
parentc7e0756e7cd51d74f7906534e588c462cea8df8d (diff)
Hide <.> from GHC import in Hoogle only for ghc <= 6.8.3
Diffstat (limited to 'src/Haddock')
-rw-r--r--src/Haddock/Backends/Hoogle.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Haddock/Backends/Hoogle.hs b/src/Haddock/Backends/Hoogle.hs
index f921938f..23fcf0c4 100644
--- a/src/Haddock/Backends/Hoogle.hs
+++ b/src/Haddock/Backends/Hoogle.hs
@@ -16,7 +16,11 @@ import Haddock.GHC
import Haddock.GHC.Utils
import Haddock.Types
import Haddock.Utils
+#if __GLASGOW_HASKELL__ >= 609
+import GHC
+#else
import GHC hiding ((<.>))
+#endif
import SrcLoc
import Outputable