[commit: ghc] master: Check.hs: Use actual import lists instead of comments (f21eedb)

git at git.haskell.org git at git.haskell.org
Thu Sep 29 15:04:10 UTC 2016


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

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

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

commit f21eedbc223c33b71ba323a44c25fcd512f61b52
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Thu Sep 29 11:03:24 2016 -0400

    Check.hs: Use actual import lists instead of comments


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

f21eedbc223c33b71ba323a44c25fcd512f61b52
 compiler/deSugar/Check.hs | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/compiler/deSugar/Check.hs b/compiler/deSugar/Check.hs
index 6ee5bff..0a7706c 100644
--- a/compiler/deSugar/Check.hs
+++ b/compiler/deSugar/Check.hs
@@ -33,20 +33,19 @@ import Util
 import Outputable
 import FastString
 
-import DsMonad    -- DsM, initTcDsForSolver, getDictsDs
-import TcSimplify -- tcCheckSatisfiability
-import TcType     -- toTcType, toTcTypeBag
+import DsMonad
+import TcSimplify    (tcCheckSatisfiability)
+import TcType        (toTcType, isStringTy, isIntTy, isWordTy)
 import Bag
 import ErrUtils
-import MonadUtils -- MonadIO
-import Var        -- EvVar
+import Var           (EvVar)
 import Type
 import UniqSupply
-import DsGRHSs    -- isTrueLHsExpr
+import DsGRHSs       (isTrueLHsExpr)
 
-import Data.List     -- find
-import Data.Maybe    -- isNothing, isJust, fromJust
-import Control.Monad -- liftM3, forM
+import Data.List     (find)
+import Data.Maybe    (isJust)
+import Control.Monad (forM, when, forM_)
 import Coercion
 import TcEvidence
 import IOEnv



More information about the ghc-commits mailing list