summaryrefslogtreecommitdiff
path: root/utils/ghc-cabal
diff options
context:
space:
mode:
authorOleg Grenrus <oleg.grenrus@iki.fi>2021-03-18 21:49:51 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-31 11:12:17 -0400
commit59e82fb3474d06d141941bcc8f063493985cf8f3 (patch)
tree4ceb1c33efd232f3d850d9e52edd899891374033 /utils/ghc-cabal
parent86e7aa01280543ec2b491fa112a86f7dbcf2a347 (diff)
downloadhaskell-59e82fb3474d06d141941bcc8f063493985cf8f3.tar.gz
import Data.List with explicit import list
Diffstat (limited to 'utils/ghc-cabal')
-rw-r--r--utils/ghc-cabal/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-cabal/Main.hs b/utils/ghc-cabal/Main.hs
index 3e3b824a26..0c13554b32 100644
--- a/utils/ghc-cabal/Main.hs
+++ b/utils/ghc-cabal/Main.hs
@@ -34,7 +34,7 @@ import Distribution.Utils.Path (getSymbolicPath)
import Control.Exception (bracket)
import Control.Monad
import Control.Applicative ((<|>))
-import Data.List
+import Data.List (nub, intercalate, isPrefixOf, isSuffixOf)
import Data.Maybe
import System.IO
import System.Directory (setCurrentDirectory, getCurrentDirectory, doesFileExist)