[commit: ghc] wip/nfs-locking: Remove redundant GHC extensions. (a7cc473)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:17:56 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/a7cc473154bf0fcc311bb070381f28c444d4de1b/ghc

>---------------------------------------------------------------

commit a7cc473154bf0fcc311bb070381f28c444d4de1b
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Thu Jan 1 22:56:13 2015 +0000

    Remove redundant GHC extensions.


>---------------------------------------------------------------

a7cc473154bf0fcc311bb070381f28c444d4de1b
 src/Base.hs                | 2 --
 src/Oracles.hs             | 3 ---
 src/Oracles/Base.hs        | 3 +--
 src/Oracles/Builder.hs     | 3 +--
 src/Oracles/Flag.hs        | 3 +--
 src/Oracles/Option.hs      | 3 ---
 src/Oracles/PackageData.hs | 3 +--
 7 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/src/Base.hs b/src/Base.hs
index 29c1340..b95cf14 100644
--- a/src/Base.hs
+++ b/src/Base.hs
@@ -1,5 +1,3 @@
-{-# LANGUAGE FlexibleInstances #-}
-
 module Base (
     module Development.Shake,
     module Development.Shake.FilePath,
diff --git a/src/Oracles.hs b/src/Oracles.hs
index c9c9601..093f1b8 100644
--- a/src/Oracles.hs
+++ b/src/Oracles.hs
@@ -1,6 +1,3 @@
-{-# LANGUAGE TypeFamilies, FlexibleInstances, FlexibleContexts, NoImplicitPrelude #-}
-{-# LANGUAGE DeriveDataTypeable, GeneralizedNewtypeDeriving, ConstraintKinds #-}
-
 module Oracles (
     module Oracles.Base,
     module Oracles.Flag,
diff --git a/src/Oracles/Base.hs b/src/Oracles/Base.hs
index 1e3dec2..1a9cf3e 100644
--- a/src/Oracles/Base.hs
+++ b/src/Oracles/Base.hs
@@ -1,5 +1,4 @@
-{-# LANGUAGE TypeFamilies, FlexibleInstances, FlexibleContexts, MultiParamTypeClasses #-}
-{-# LANGUAGE DeriveDataTypeable, GeneralizedNewtypeDeriving, ConstraintKinds #-}
+{-# LANGUAGE DeriveDataTypeable, GeneralizedNewtypeDeriving #-}
 
 module Oracles.Base (
     ConfigKey (..),
diff --git a/src/Oracles/Builder.hs b/src/Oracles/Builder.hs
index 3d3a0e9..6c37ec0 100644
--- a/src/Oracles/Builder.hs
+++ b/src/Oracles/Builder.hs
@@ -1,5 +1,4 @@
-{-# LANGUAGE TypeFamilies, FlexibleInstances, FlexibleContexts, NoImplicitPrelude #-}
-{-# LANGUAGE DeriveDataTypeable, GeneralizedNewtypeDeriving, ConstraintKinds #-}
+{-# LANGUAGE NoImplicitPrelude #-}
 
 module Oracles.Builder (
     Builder (..),
diff --git a/src/Oracles/Flag.hs b/src/Oracles/Flag.hs
index 9245fb2..c8ddc8e 100644
--- a/src/Oracles/Flag.hs
+++ b/src/Oracles/Flag.hs
@@ -1,5 +1,4 @@
-{-# LANGUAGE TypeFamilies, FlexibleInstances, FlexibleContexts, MultiParamTypeClasses #-}
-{-# LANGUAGE DeriveDataTypeable, GeneralizedNewtypeDeriving, ConstraintKinds #-}
+{-# LANGUAGE TypeFamilies, FlexibleInstances, MultiParamTypeClasses #-}
 
 module Oracles.Flag (
     module Control.Monad,
diff --git a/src/Oracles/Option.hs b/src/Oracles/Option.hs
index 72d166b..3661b71 100644
--- a/src/Oracles/Option.hs
+++ b/src/Oracles/Option.hs
@@ -1,6 +1,3 @@
-{-# LANGUAGE TypeFamilies, FlexibleInstances, FlexibleContexts, MultiParamTypeClasses #-}
-{-# LANGUAGE DeriveDataTypeable, GeneralizedNewtypeDeriving, ConstraintKinds #-}
-
 module Oracles.Option (
     Option (..),
     option, argOption,
diff --git a/src/Oracles/PackageData.hs b/src/Oracles/PackageData.hs
index 3abd7a2..831fec9 100644
--- a/src/Oracles/PackageData.hs
+++ b/src/Oracles/PackageData.hs
@@ -1,5 +1,4 @@
-{-# LANGUAGE TypeFamilies, FlexibleInstances, FlexibleContexts, MultiParamTypeClasses #-}
-{-# LANGUAGE DeriveDataTypeable, GeneralizedNewtypeDeriving, ConstraintKinds #-}
+{-# LANGUAGE DeriveDataTypeable, GeneralizedNewtypeDeriving #-}
 
 module Oracles.PackageData (
     PackageDataPair (..),



More information about the ghc-commits mailing list