summaryrefslogtreecommitdiff
path: root/compiler/deSugar
diff options
context:
space:
mode:
authorMichael D. Adams <t-madams@microsoft.com>2007-05-10 09:31:35 +0000
committerMichael D. Adams <t-madams@microsoft.com>2007-05-10 09:31:35 +0000
commitb1ab4b8a607addc4d097588db5761313c996a41f (patch)
treeb7e126ed9b7cb4f4aae384affade6be82a12c45a /compiler/deSugar
parente46cab34c24d2b9bdb37dbddf8ff640653b0b35f (diff)
downloadhaskell-b1ab4b8a607addc4d097588db5761313c996a41f.tar.gz
Warning fix for unused and redundant imports
Diffstat (limited to 'compiler/deSugar')
-rw-r--r--compiler/deSugar/Check.lhs1
-rw-r--r--compiler/deSugar/DsGRHSs.lhs2
-rw-r--r--compiler/deSugar/DsListComp.lhs1
-rw-r--r--compiler/deSugar/DsMonad.lhs2
-rw-r--r--compiler/deSugar/Match.lhs1
-rw-r--r--compiler/deSugar/MatchLit.lhs2
6 files changed, 0 insertions, 9 deletions
diff --git a/compiler/deSugar/Check.lhs b/compiler/deSugar/Check.lhs
index a81123ec41..b8c61aa9ce 100644
--- a/compiler/deSugar/Check.lhs
+++ b/compiler/deSugar/Check.lhs
@@ -11,7 +11,6 @@ module Check ( check , ExhaustivePat ) where
import HsSyn
import TcHsSyn
-import TcType
import DsUtils
import MatchLit
import Id
diff --git a/compiler/deSugar/DsGRHSs.lhs b/compiler/deSugar/DsGRHSs.lhs
index 4f1065e384..4e3dd2d15c 100644
--- a/compiler/deSugar/DsGRHSs.lhs
+++ b/compiler/deSugar/DsGRHSs.lhs
@@ -14,14 +14,12 @@ import {-# SOURCE #-} DsExpr ( dsLExpr, dsLocalBinds )
import {-# SOURCE #-} Match ( matchSinglePat )
import HsSyn
-import HsUtils
import CoreSyn
import Var
import Type
import DsMonad
import DsUtils
-import Unique
import PrelInfo
import TysWiredIn
import PrelNames
diff --git a/compiler/deSugar/DsListComp.lhs b/compiler/deSugar/DsListComp.lhs
index ccc1a7bb34..a98aef6b3a 100644
--- a/compiler/deSugar/DsListComp.lhs
+++ b/compiler/deSugar/DsListComp.lhs
@@ -21,7 +21,6 @@ import DsMonad -- the monadery used in the desugarer
import DsUtils
import DynFlags
-import StaticFlags
import CoreUtils
import Var
import Type
diff --git a/compiler/deSugar/DsMonad.lhs b/compiler/deSugar/DsMonad.lhs
index 577a0d822d..c9fe054d30 100644
--- a/compiler/deSugar/DsMonad.lhs
+++ b/compiler/deSugar/DsMonad.lhs
@@ -55,8 +55,6 @@ import NameEnv
import OccName
import DynFlags
import ErrUtils
-import Bag
-import OccName
import Data.IORef
diff --git a/compiler/deSugar/Match.lhs b/compiler/deSugar/Match.lhs
index 9dc5d3af3f..5294320212 100644
--- a/compiler/deSugar/Match.lhs
+++ b/compiler/deSugar/Match.lhs
@@ -26,7 +26,6 @@ import DataCon
import MatchCon
import MatchLit
import PrelInfo
-import TcType
import Type
import TysWiredIn
import BasicTypes
diff --git a/compiler/deSugar/MatchLit.lhs b/compiler/deSugar/MatchLit.lhs
index e0a76011b6..50fec2fd12 100644
--- a/compiler/deSugar/MatchLit.lhs
+++ b/compiler/deSugar/MatchLit.lhs
@@ -27,12 +27,10 @@ import TcType
import Type
import PrelNames
import TysWiredIn
-import PrelNames
import Unique
import Literal
import SrcLoc
import Ratio
-import SrcLoc
import Outputable
import Util
import FastString