[commit: ghc] master: Remove unneeded uses of ImplicitParams (f68a00c)

git at git.haskell.org git at git.haskell.org
Wed Aug 2 20:16:00 UTC 2017


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

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

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

commit f68a00c97c149428c4b711e0abb8b69cdc3c6bcb
Author: Ryan Scott <ryan.gl.scott at gmail.com>
Date:   Wed Aug 2 16:10:34 2017 -0400

    Remove unneeded uses of ImplicitParams
    
    Summary:
    Finish the work started in
    7d1909ad110f05c8cb2fb0689ee75857ceb945f6.
    
    Test Plan: If it builds, ship it
    
    Reviewers: austin, bgamari
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3812


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

f68a00c97c149428c4b711e0abb8b69cdc3c6bcb
 compiler/basicTypes/Id.hs          | 2 +-
 compiler/typecheck/TcDerivUtils.hs | 1 -
 compiler/types/TyCoRep.hs          | 1 -
 compiler/utils/Outputable.hs       | 1 -
 4 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/compiler/basicTypes/Id.hs b/compiler/basicTypes/Id.hs
index aab5569..0529077 100644
--- a/compiler/basicTypes/Id.hs
+++ b/compiler/basicTypes/Id.hs
@@ -5,7 +5,7 @@
 \section[Id]{@Ids@: Value and constructor identifiers}
 -}
 
-{-# LANGUAGE ImplicitParams, CPP #-}
+{-# LANGUAGE CPP #-}
 
 -- |
 -- #name_types#
diff --git a/compiler/typecheck/TcDerivUtils.hs b/compiler/typecheck/TcDerivUtils.hs
index 09876af..05d323c 100644
--- a/compiler/typecheck/TcDerivUtils.hs
+++ b/compiler/typecheck/TcDerivUtils.hs
@@ -6,7 +6,6 @@
 Error-checking and other utilities for @deriving@ clauses or declarations.
 -}
 
-{-# LANGUAGE ImplicitParams #-}
 {-# LANGUAGE TypeFamilies #-}
 
 module TcDerivUtils (
diff --git a/compiler/types/TyCoRep.hs b/compiler/types/TyCoRep.hs
index c8ea18a..8b8a960 100644
--- a/compiler/types/TyCoRep.hs
+++ b/compiler/types/TyCoRep.hs
@@ -18,7 +18,6 @@ Note [The Type-related module hierarchy]
 -- We expose the relevant stuff from this module via the Type module
 {-# OPTIONS_HADDOCK hide #-}
 {-# LANGUAGE CPP, DeriveDataTypeable, MultiWayIf #-}
-{-# LANGUAGE ImplicitParams #-}
 
 module TyCoRep (
         TyThing(..), tyThingCategory, pprTyThingCategory, pprShortTyThing,
diff --git a/compiler/utils/Outputable.hs b/compiler/utils/Outputable.hs
index de27546..bc46f2f 100644
--- a/compiler/utils/Outputable.hs
+++ b/compiler/utils/Outputable.hs
@@ -1,4 +1,3 @@
-{-# LANGUAGE CPP, ImplicitParams #-}
 {-
 (c) The University of Glasgow 2006-2012
 (c) The GRASP Project, Glasgow University, 1992-1998



More information about the ghc-commits mailing list