X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=GHC%2FBase.lhs;h=1a5ce0d45ab70326121605a2d0cd88c2b84ab596;hb=dfbc01d590acb27e9b40df1693e888531376738e;hp=5ab0b2627700ec4a77537142f107d7f1f4d1fcc9;hpb=5ba076a7ebba87a34293dca92d8b3d8ea0dd9648;p=ghc-base.git diff --git a/GHC/Base.lhs b/GHC/Base.lhs index 5ab0b26..1a5ce0d 100644 --- a/GHC/Base.lhs +++ b/GHC/Base.lhs @@ -62,12 +62,20 @@ GHC.Float Classes: Floating, RealFloat Other Prelude modules are much easier with fewer complex dependencies. \begin{code} -{-# LANGUAGE BangPatterns #-} -{-# OPTIONS_GHC -XNoImplicitPrelude #-} +{-# LANGUAGE CPP + , NoImplicitPrelude + , BangPatterns + , ExplicitForAll + , MagicHash + , UnboxedTuples + , ExistentialQuantification + , Rank2Types + #-} -- -fno-warn-orphans is needed for things like: -- Orphan rule: "x# -# x#" ALWAYS forall x# :: Int# -# x# x# = 0 {-# OPTIONS_GHC -fno-warn-orphans #-} {-# OPTIONS_HADDOCK hide #-} + ----------------------------------------------------------------------------- -- | -- Module : GHC.Base @@ -89,7 +97,8 @@ module GHC.Base ( module GHC.Base, module GHC.Classes, - module GHC.Generics, + --module GHC.Generics, -- JPM: We no longer export GHC.Generics + -- by default to avoid name clashes module GHC.Ordering, module GHC.Types, module GHC.Prim, -- Re-export GHC.Prim and GHC.Err, to avoid lots @@ -99,7 +108,8 @@ module GHC.Base import GHC.Types import GHC.Classes -import GHC.Generics +-- JPM: Since we don't export it, we don't need to import GHC.Generics +--import GHC.Generics import GHC.Ordering import GHC.Prim import {-# SOURCE #-} GHC.Show