summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/TopHandler.lhs
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2011-01-28 12:07:19 +0000
committersimonpj@microsoft.com <unknown>2011-01-28 12:07:19 +0000
commit32ba2853209b8914fd36947ccf57d34c009a9e47 (patch)
tree684ac65733ddbdffc48bd4f57e889e9d7f95a610 /libraries/base/GHC/TopHandler.lhs
parent4cc27e70f04c114b4e24e16cdb8c3e9ccf926ca2 (diff)
downloadhaskell-32ba2853209b8914fd36947ccf57d34c009a9e47.tar.gz
Use explicit language extensions & remove extension fields from base.cabal
Add explicit {-# LANGUAGE xxx #-} pragmas to each module, that say what extensions that module uses. This makes it clearer where different extensions are used in the (large, variagated) base package. Now base.cabal doesn't need any extensions field Thanks to Bas van Dijk for doing all the work.
Diffstat (limited to 'libraries/base/GHC/TopHandler.lhs')
-rw-r--r--libraries/base/GHC/TopHandler.lhs9
1 files changed, 8 insertions, 1 deletions
diff --git a/libraries/base/GHC/TopHandler.lhs b/libraries/base/GHC/TopHandler.lhs
index 0f55b38ba3..7bedcfea5d 100644
--- a/libraries/base/GHC/TopHandler.lhs
+++ b/libraries/base/GHC/TopHandler.lhs
@@ -1,7 +1,14 @@
\begin{code}
-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
+{-# LANGUAGE CPP
+ , NoImplicitPrelude
+ , ForeignFunctionInterface
+ , MagicHash
+ , UnboxedTuples
+ , PatternGuards
+ #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_HADDOCK hide #-}
+
-----------------------------------------------------------------------------
-- |
-- Module : GHC.TopHandler