[commit: packages/hoopl] master: Don't import Applicative explicitly (a2e34db)

git at git.haskell.org git at git.haskell.org
Tue Apr 22 11:06:52 UTC 2014


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

On branch  : master
Link       : http://git.haskell.org/packages/hoopl.git/commitdiff/a2e34db038b737365c4126f69b1a32eae84dae6b

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

commit a2e34db038b737365c4126f69b1a32eae84dae6b
Author: Austin Seipp <austin at well-typed.com>
Date:   Tue Apr 22 06:06:13 2014 -0500

    Don't import Applicative explicitly
    
    In 7.10, this import would be redundant since Applicative is in the
    Prelude. It's easiest to just make the import whole-sale.
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


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

a2e34db038b737365c4126f69b1a32eae84dae6b
 src/Compiler/Hoopl/Unique.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Compiler/Hoopl/Unique.hs b/src/Compiler/Hoopl/Unique.hs
index 8ea85ce..bf3de75 100644
--- a/src/Compiler/Hoopl/Unique.hs
+++ b/src/Compiler/Hoopl/Unique.hs
@@ -21,7 +21,7 @@ import Compiler.Hoopl.Collections
 import qualified Data.IntMap as M
 import qualified Data.IntSet as S
 
-import Control.Applicative (Applicative(..))
+import Control.Applicative
 import Control.Monad (ap,liftM)
 
 -----------------------------------------------------------------------------



More information about the ghc-commits mailing list