From: Ian Lynagh Date: Mon, 16 Jun 2008 14:52:07 +0000 (+0000) Subject: Avoid using deprecated flags X-Git-Tag: 6_10_branch_has_been_forked~147 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=10de2c656f74562b662c22928be85e1b3ccda796;p=ghc-base.git Avoid using deprecated flags --- diff --git a/Control/Monad.hs b/Control/Monad.hs index c44ac82..a1d7d26 100644 --- a/Control/Monad.hs +++ b/Control/Monad.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Control.Monad diff --git a/Data/Bits.hs b/Data/Bits.hs index 9a20b35..638935d 100644 --- a/Data/Bits.hs +++ b/Data/Bits.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Bits diff --git a/Data/Bool.hs b/Data/Bool.hs index de5b3b0..10ca90a 100644 --- a/Data/Bool.hs +++ b/Data/Bool.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Bool diff --git a/Data/Char.hs b/Data/Char.hs index 11eb084..76f2188 100644 --- a/Data/Char.hs +++ b/Data/Char.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Char diff --git a/Data/Dynamic.hs b/Data/Dynamic.hs index c7b1479..7466897 100644 --- a/Data/Dynamic.hs +++ b/Data/Dynamic.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Dynamic diff --git a/Data/Dynamic.hs-boot b/Data/Dynamic.hs-boot index 63c81b9..94fb99c 100644 --- a/Data/Dynamic.hs-boot +++ b/Data/Dynamic.hs-boot @@ -1,4 +1,4 @@ -{-# OPTIONS -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} module Data.Dynamic where import {-# SOURCE #-} Data.Typeable (TypeRep) data Dynamic diff --git a/Data/Either.hs b/Data/Either.hs index f64c3e4..d22e91c 100644 --- a/Data/Either.hs +++ b/Data/Either.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Either diff --git a/Data/Eq.hs b/Data/Eq.hs index 2020233..7e424a2 100644 --- a/Data/Eq.hs +++ b/Data/Eq.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Eq diff --git a/Data/HashTable.hs b/Data/HashTable.hs index ed0fb8f..48ecb0b 100644 --- a/Data/HashTable.hs +++ b/Data/HashTable.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} ----------------------------------------------------------------------------- -- | diff --git a/Data/Int.hs b/Data/Int.hs index ff077be..67b4ba8 100644 --- a/Data/Int.hs +++ b/Data/Int.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Int diff --git a/Data/List.hs b/Data/List.hs index 2034f7c..012c177 100644 --- a/Data/List.hs +++ b/Data/List.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.List diff --git a/Data/Maybe.hs b/Data/Maybe.hs index 4a71772..981d028 100644 --- a/Data/Maybe.hs +++ b/Data/Maybe.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Maybe diff --git a/Data/Ord.hs b/Data/Ord.hs index 490d6be..9af4246 100644 --- a/Data/Ord.hs +++ b/Data/Ord.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Ord diff --git a/Data/String.hs b/Data/String.hs index f1a65cd..67b3179 100644 --- a/Data/String.hs +++ b/Data/String.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.String diff --git a/Data/Tuple.hs b/Data/Tuple.hs index 64d8e77..69a2c9d 100644 --- a/Data/Tuple.hs +++ b/Data/Tuple.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Tuple diff --git a/Data/Typeable.hs b/Data/Typeable.hs index c0a8cf9..4614ab5 100644 --- a/Data/Typeable.hs +++ b/Data/Typeable.hs @@ -1,6 +1,6 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -fallow-overlapping-instances -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -XOverlappingInstances -funbox-strict-fields #-} --- The -fallow-overlapping-instances flag allows the user to over-ride +-- The -XOverlappingInstances flag allows the user to over-ride -- the instances for Typeable given here. In particular, we provide an instance -- instance ... => Typeable (s a) -- But a user might want to say diff --git a/Data/Typeable.hs-boot b/Data/Typeable.hs-boot index d9bc373..4088389 100644 --- a/Data/Typeable.hs-boot +++ b/Data/Typeable.hs-boot @@ -1,5 +1,5 @@ -{-# OPTIONS -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} module Data.Typeable where diff --git a/Data/Word.hs b/Data/Word.hs index bd34f72..c4bf0a6 100644 --- a/Data/Word.hs +++ b/Data/Word.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Word diff --git a/Foreign.hs b/Foreign.hs index 6c3cf8a..622ec93 100644 --- a/Foreign.hs +++ b/Foreign.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign diff --git a/Foreign/C.hs b/Foreign/C.hs index 885ecf3..cb8dfef 100644 --- a/Foreign/C.hs +++ b/Foreign/C.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.C diff --git a/Foreign/C/Error.hs b/Foreign/C/Error.hs index df67672..0a4c90f 100644 --- a/Foreign/C/Error.hs +++ b/Foreign/C/Error.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -#include "HsBase.h" #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -#include "HsBase.h" #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.C.Error diff --git a/Foreign/C/String.hs b/Foreign/C/String.hs index df82aff..931b661 100644 --- a/Foreign/C/String.hs +++ b/Foreign/C/String.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.C.String diff --git a/Foreign/C/Types.hs b/Foreign/C/Types.hs index daa8d94..c5c3745 100644 --- a/Foreign/C/Types.hs +++ b/Foreign/C/Types.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.C.Types diff --git a/Foreign/Concurrent.hs b/Foreign/Concurrent.hs index 13e4b46..096f226 100644 --- a/Foreign/Concurrent.hs +++ b/Foreign/Concurrent.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.Concurrent diff --git a/Foreign/ForeignPtr.hs b/Foreign/ForeignPtr.hs index b284abc..a240e9d 100644 --- a/Foreign/ForeignPtr.hs +++ b/Foreign/ForeignPtr.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.ForeignPtr diff --git a/Foreign/Marshal.hs b/Foreign/Marshal.hs index 9ea2f68..1daf8ef 100644 --- a/Foreign/Marshal.hs +++ b/Foreign/Marshal.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.Marshal diff --git a/Foreign/Marshal/Alloc.hs b/Foreign/Marshal/Alloc.hs index b7cd225..c5ae6a9 100644 --- a/Foreign/Marshal/Alloc.hs +++ b/Foreign/Marshal/Alloc.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.Marshal.Alloc diff --git a/Foreign/Marshal/Array.hs b/Foreign/Marshal/Array.hs index ebd6f3c..fa23be9 100644 --- a/Foreign/Marshal/Array.hs +++ b/Foreign/Marshal/Array.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.Marshal.Array diff --git a/Foreign/Marshal/Error.hs b/Foreign/Marshal/Error.hs index 5f7e92d..3d72956 100644 --- a/Foreign/Marshal/Error.hs +++ b/Foreign/Marshal/Error.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.Marshal.Error diff --git a/Foreign/Marshal/Pool.hs b/Foreign/Marshal/Pool.hs index a2a73ac..0580668 100644 --- a/Foreign/Marshal/Pool.hs +++ b/Foreign/Marshal/Pool.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} -------------------------------------------------------------------------------- -- | -- Module : Foreign.Marshal.Pool diff --git a/Foreign/Marshal/Utils.hs b/Foreign/Marshal/Utils.hs index f3ffe50..4aa0e74 100644 --- a/Foreign/Marshal/Utils.hs +++ b/Foreign/Marshal/Utils.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.Marshal.Utils diff --git a/Foreign/Ptr.hs b/Foreign/Ptr.hs index a394074..f57e1ac 100644 --- a/Foreign/Ptr.hs +++ b/Foreign/Ptr.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.Ptr diff --git a/Foreign/StablePtr.hs b/Foreign/StablePtr.hs index 9ae1371..cfcd239 100644 --- a/Foreign/StablePtr.hs +++ b/Foreign/StablePtr.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.StablePtr diff --git a/Foreign/Storable.hs b/Foreign/Storable.hs index f77ffff..adead2d 100644 --- a/Foreign/Storable.hs +++ b/Foreign/Storable.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign.Storable diff --git a/Foreign/Storable.hs-boot b/Foreign/Storable.hs-boot index 35374b5..f5e71c6 100644 --- a/Foreign/Storable.hs-boot +++ b/Foreign/Storable.hs-boot @@ -1,5 +1,5 @@ -{-# OPTIONS -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} module Foreign.Storable where diff --git a/GHC/Arr.lhs b/GHC/Arr.lhs index 3b6d0ad..658f153 100644 --- a/GHC/Arr.lhs +++ b/GHC/Arr.lhs @@ -1,5 +1,6 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude -fno-bang-patterns -funbox-strict-fields #-} +{-# OPTIONS_GHC -funbox-strict-fields #-} +{-# LANGUAGE NoImplicitPrelude, NoBangPatterns #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Base.lhs b/GHC/Base.lhs index 5d95a04..bd1b76a 100644 --- a/GHC/Base.lhs +++ b/GHC/Base.lhs @@ -62,7 +62,7 @@ GHC.Float Classes: Floating, RealFloat Other Prelude modules are much easier with fewer complex dependencies. \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Conc.lhs b/GHC/Conc.lhs index 460a98a..73c4eb3 100644 --- a/GHC/Conc.lhs +++ b/GHC/Conc.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK not-home #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Dotnet.hs b/GHC/Dotnet.hs index 44ca423..10be4b6 100644 --- a/GHC/Dotnet.hs +++ b/GHC/Dotnet.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Dotnet diff --git a/GHC/Enum.lhs b/GHC/Enum.lhs index bb8df9b..8441c76 100644 --- a/GHC/Enum.lhs +++ b/GHC/Enum.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Err.lhs b/GHC/Err.lhs index c1c9774..b8e79d6 100644 --- a/GHC/Err.lhs +++ b/GHC/Err.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Err.lhs-boot b/GHC/Err.lhs-boot index 5b49c4e..0b18d30 100644 --- a/GHC/Err.lhs-boot +++ b/GHC/Err.lhs-boot @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} --------------------------------------------------------------------------- -- Ghc.Err.hs-boot --------------------------------------------------------------------------- diff --git a/GHC/Exception.lhs b/GHC/Exception.lhs index 852f465..5ec9bcc 100644 --- a/GHC/Exception.lhs +++ b/GHC/Exception.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Float.lhs b/GHC/Float.lhs index 1190caf..ceac2f7 100644 --- a/GHC/Float.lhs +++ b/GHC/Float.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/ForeignPtr.hs b/GHC/ForeignPtr.hs index 07cd8ce..366282f 100644 --- a/GHC/ForeignPtr.hs +++ b/GHC/ForeignPtr.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Handle.hs b/GHC/Handle.hs index 8527e6f..ddec90f 100644 --- a/GHC/Handle.hs +++ b/GHC/Handle.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -#include "HsBase.h" #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -#include "HsBase.h" #-} {-# OPTIONS_HADDOCK hide #-} #undef DEBUG_DUMP diff --git a/GHC/IO.hs b/GHC/IO.hs index b4d5354..14c2b3d 100644 --- a/GHC/IO.hs +++ b/GHC/IO.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -#include "HsBase.h" #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -#include "HsBase.h" #-} {-# OPTIONS_HADDOCK hide #-} #undef DEBUG_DUMP diff --git a/GHC/IOBase.lhs b/GHC/IOBase.lhs index 5b0c65f..a11ec62 100644 --- a/GHC/IOBase.lhs +++ b/GHC/IOBase.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | @@ -51,7 +51,7 @@ import GHC.Arr -- to derive Ix class import GHC.Enum -- to derive Enum class import GHC.STRef import GHC.Base --- import GHC.Num -- To get fromInteger etc, needed because of -fno-implicit-prelude +-- import GHC.Num -- To get fromInteger etc, needed because of -XNoImplicitPrelude import Data.Maybe ( Maybe(..) ) import GHC.Show import GHC.List diff --git a/GHC/Int.hs b/GHC/Int.hs index e071089..b5e4b73 100644 --- a/GHC/Int.hs +++ b/GHC/Int.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/List.lhs b/GHC/List.lhs index a52a1d4..d311dac 100644 --- a/GHC/List.lhs +++ b/GHC/List.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Num.lhs b/GHC/Num.lhs index aed62eb..46cc03d 100644 --- a/GHC/Num.lhs +++ b/GHC/Num.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/PArr.hs b/GHC/PArr.hs index 10a4267..0ca8b66 100644 --- a/GHC/PArr.hs +++ b/GHC/PArr.hs @@ -1,4 +1,5 @@ -{-# OPTIONS_GHC -fparr -funbox-strict-fields #-} +{-# OPTIONS_GHC -funbox-strict-fields #-} +{-# LANGUAGE PArr #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Pack.lhs b/GHC/Pack.lhs index 4867e0c..47e602b 100644 --- a/GHC/Pack.lhs +++ b/GHC/Pack.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Ptr.lhs b/GHC/Ptr.lhs index 5e1b982..2493474 100644 --- a/GHC/Ptr.lhs +++ b/GHC/Ptr.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Read.lhs b/GHC/Read.lhs index 5ec8932..d684a4a 100644 --- a/GHC/Read.lhs +++ b/GHC/Read.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Real.lhs b/GHC/Real.lhs index b24ab7d..d282058 100644 --- a/GHC/Real.lhs +++ b/GHC/Real.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/ST.lhs b/GHC/ST.lhs index 15ff74c..7d8e0e2 100644 --- a/GHC/ST.lhs +++ b/GHC/ST.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/STRef.lhs b/GHC/STRef.lhs index 4fd8425..a0dba8d 100644 --- a/GHC/STRef.lhs +++ b/GHC/STRef.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Show.lhs b/GHC/Show.lhs index 30858da..3eaf04b 100644 --- a/GHC/Show.lhs +++ b/GHC/Show.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Stable.lhs b/GHC/Stable.lhs index 1e7222f..2086a3b 100644 --- a/GHC/Stable.lhs +++ b/GHC/Stable.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Storable.lhs b/GHC/Storable.lhs index aa53236..5daf414 100644 --- a/GHC/Storable.lhs +++ b/GHC/Storable.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/TopHandler.lhs-boot b/GHC/TopHandler.lhs-boot index af6170a..0340af2 100644 --- a/GHC/TopHandler.lhs-boot +++ b/GHC/TopHandler.lhs-boot @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} module GHC.TopHandler ( reportError, reportStackOverflow ) where import GHC.Exception ( Exception ) diff --git a/GHC/Unicode.hs b/GHC/Unicode.hs index 20d2b09..7c4ed9f 100644 --- a/GHC/Unicode.hs +++ b/GHC/Unicode.hs @@ -1,4 +1,4 @@ -{-# OPTIONS -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS -#include "WCsubst.h" #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- diff --git a/GHC/Unicode.hs-boot b/GHC/Unicode.hs-boot index cc67ac8..12f3e23 100644 --- a/GHC/Unicode.hs-boot +++ b/GHC/Unicode.hs-boot @@ -1,4 +1,4 @@ -{-# OPTIONS -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} module GHC.Unicode where import GHC.Base( Char, Bool ) diff --git a/GHC/Weak.lhs b/GHC/Weak.lhs index d76c8b6..3866ed4 100644 --- a/GHC/Weak.lhs +++ b/GHC/Weak.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Word.hs b/GHC/Word.hs index 18ef440..b60cc33 100644 --- a/GHC/Word.hs +++ b/GHC/Word.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/Numeric.hs b/Numeric.hs index 4537f9b..b9dfce6 100644 --- a/Numeric.hs +++ b/Numeric.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Numeric diff --git a/Prelude.hs b/Prelude.hs index d6ed113..ff3902a 100644 --- a/Prelude.hs +++ b/Prelude.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Prelude diff --git a/System/IO.hs b/System/IO.hs index f379078..b68ff96 100644 --- a/System/IO.hs +++ b/System/IO.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : System.IO diff --git a/System/IO/Error.hs b/System/IO/Error.hs index c7827cb..132af61 100644 --- a/System/IO/Error.hs +++ b/System/IO/Error.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | diff --git a/System/IO/Unsafe.hs b/System/IO/Unsafe.hs index becd498..431df46 100644 --- a/System/IO/Unsafe.hs +++ b/System/IO/Unsafe.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : System.IO.Unsafe diff --git a/System/Posix/Internals.hs b/System/Posix/Internals.hs index 6eddda6..960f84c 100644 --- a/System/Posix/Internals.hs +++ b/System/Posix/Internals.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- diff --git a/System/Posix/Types.hs b/System/Posix/Types.hs index 0f41050..14fdcf8 100644 --- a/System/Posix/Types.hs +++ b/System/Posix/Types.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : System.Posix.Types diff --git a/Text/ParserCombinators/ReadP.hs b/Text/ParserCombinators/ReadP.hs index d0743e7..b2414f7 100644 --- a/Text/ParserCombinators/ReadP.hs +++ b/Text/ParserCombinators/ReadP.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fglasgow-exts -fno-implicit-prelude #-} +{-# OPTIONS_GHC -fglasgow-exts -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Text.ParserCombinators.ReadP diff --git a/Text/ParserCombinators/ReadPrec.hs b/Text/ParserCombinators/ReadPrec.hs index 26e3b76..88b5678 100644 --- a/Text/ParserCombinators/ReadPrec.hs +++ b/Text/ParserCombinators/ReadPrec.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Text.ParserCombinators.ReadPrec diff --git a/Text/Read.hs b/Text/Read.hs index 5009efb..172a4c2 100644 --- a/Text/Read.hs +++ b/Text/Read.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Text.Read diff --git a/Text/Read/Lex.hs b/Text/Read/Lex.hs index cbfaaf8..a2acf47 100644 --- a/Text/Read/Lex.hs +++ b/Text/Read/Lex.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Text.Read.Lex diff --git a/Text/Show.hs b/Text/Show.hs index 5ae6288..d540a1d 100644 --- a/Text/Show.hs +++ b/Text/Show.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Text.Show diff --git a/Unsafe/Coerce.hs b/Unsafe/Coerce.hs index e911c6f..9b1e360 100644 --- a/Unsafe/Coerce.hs +++ b/Unsafe/Coerce.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Unsafe.Coerce