[commit: ghc] master: Prune unneeded Derive* language pragmas (50544ee)

git at git.haskell.org git at git.haskell.org
Thu Jan 26 16:04:34 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/50544eea6ba519ce225e8bd01265e5a4a5d04bef/ghc

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

commit 50544eea6ba519ce225e8bd01265e5a4a5d04bef
Author: Gabor Greif <ggreif at gmail.com>
Date:   Thu Jan 26 16:46:04 2017 +0100

    Prune unneeded Derive* language pragmas


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

50544eea6ba519ce225e8bd01265e5a4a5d04bef
 compiler/coreSyn/CoreSyn.hs | 2 +-
 compiler/types/TyCoRep.hs   | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/compiler/coreSyn/CoreSyn.hs b/compiler/coreSyn/CoreSyn.hs
index 0bf15f5..333a55b 100644
--- a/compiler/coreSyn/CoreSyn.hs
+++ b/compiler/coreSyn/CoreSyn.hs
@@ -3,7 +3,7 @@
 (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
 -}
 
-{-# LANGUAGE CPP, DeriveDataTypeable, DeriveFunctor #-}
+{-# LANGUAGE CPP, DeriveDataTypeable #-}
 
 -- | CoreSyn holds all the main data types for use by for the Glasgow Haskell Compiler midsection
 module CoreSyn (
diff --git a/compiler/types/TyCoRep.hs b/compiler/types/TyCoRep.hs
index 22345ec..e4c1c97 100644
--- a/compiler/types/TyCoRep.hs
+++ b/compiler/types/TyCoRep.hs
@@ -17,8 +17,7 @@ Note [The Type-related module hierarchy]
 
 -- We expose the relevant stuff from this module via the Type module
 {-# OPTIONS_HADDOCK hide #-}
-{-# LANGUAGE CPP, DeriveDataTypeable, DeriveFunctor, DeriveFoldable,
-             DeriveTraversable, MultiWayIf #-}
+{-# LANGUAGE CPP, DeriveDataTypeable, MultiWayIf #-}
 {-# LANGUAGE ImplicitParams #-}
 
 module TyCoRep (



More information about the ghc-commits mailing list