diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-06-26 13:57:54 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-07-15 11:26:48 -0400 |
commit | 410f53a99b7d63b7874e1597b56602712f71bc96 (patch) | |
tree | 62e4d9ae8b770c5fa9f64bee7ce6c2ddc9031afa /hadrian | |
parent | 408b67142e2abdaf5866f638ab51ec3e2103d4a9 (diff) | |
download | haskell-410f53a99b7d63b7874e1597b56602712f71bc96.tar.gz |
hadrian: Eliminate some redundant imports
Diffstat (limited to 'hadrian')
-rw-r--r-- | hadrian/src/Hadrian/Utilities.hs | 2 | ||||
-rw-r--r-- | hadrian/src/Settings/Builders/Cabal.hs | 1 | ||||
-rw-r--r-- | hadrian/src/Settings/Builders/Ghc.hs | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/hadrian/src/Hadrian/Utilities.hs b/hadrian/src/Hadrian/Utilities.hs index d726e74141..feb2e2acd9 100644 --- a/hadrian/src/Hadrian/Utilities.hs +++ b/hadrian/src/Hadrian/Utilities.hs @@ -39,8 +39,8 @@ import Control.Monad.Extra import Data.Char import Data.Dynamic (Dynamic, fromDynamic, toDyn) import Data.HashMap.Strict (HashMap) +import Data.List.Extra (repeatedly, dropWhileEnd) import Data.List (isPrefixOf) -import Data.List.Extra import Data.Maybe import Data.Typeable (TypeRep, typeOf) import Development.Shake hiding (Normal) diff --git a/hadrian/src/Settings/Builders/Cabal.hs b/hadrian/src/Settings/Builders/Cabal.hs index 763f51636b..85350d96e6 100644 --- a/hadrian/src/Settings/Builders/Cabal.hs +++ b/hadrian/src/Settings/Builders/Cabal.hs @@ -1,6 +1,5 @@ module Settings.Builders.Cabal (cabalBuilderArgs) where -import Hadrian.Builder (getBuilderPath, needBuilder) import Hadrian.Haskell.Cabal import Builder diff --git a/hadrian/src/Settings/Builders/Ghc.hs b/hadrian/src/Settings/Builders/Ghc.hs index 60fd8fa726..ccbf20c9c2 100644 --- a/hadrian/src/Settings/Builders/Ghc.hs +++ b/hadrian/src/Settings/Builders/Ghc.hs @@ -2,8 +2,6 @@ module Settings.Builders.Ghc (ghcBuilderArgs, haddockGhcArgs) where -import Data.List.Extra (splitOn) - import Hadrian.Haskell.Cabal import Hadrian.Haskell.Cabal.Type |