From 6fc920847f65e9b9f347bde42b2f9ec624468cfd Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Tue, 19 Jan 2021 13:43:54 +0200 Subject: Add explicit import lists to Data.List imports Related to a future change in Data.List, https://downloads.haskell.org/ghc/8.10.3/docs/html/users_guide/using-warnings.html?highlight=wcompat#ghc-flag--Wcompat-unqualified-imports Companion pull&merge requests: - https://github.com/judah/haskeline/pull/153 - https://github.com/haskell/containers/pull/762 - https://gitlab.haskell.org/ghc/packages/hpc/-/merge_requests/9 After these the actual change in Data.List should be easy to do. --- compiler/GHC/HsToCore/Arrows.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/GHC/HsToCore/Arrows.hs') diff --git a/compiler/GHC/HsToCore/Arrows.hs b/compiler/GHC/HsToCore/Arrows.hs index b667466810..665a665cc4 100644 --- a/compiler/GHC/HsToCore/Arrows.hs +++ b/compiler/GHC/HsToCore/Arrows.hs @@ -52,7 +52,7 @@ import GHC.Utils.Panic import GHC.Types.Var.Set import GHC.Types.SrcLoc import GHC.Data.List.SetOps( assocMaybe ) -import Data.List +import Data.List (mapAccumL) import GHC.Utils.Misc import GHC.Types.Unique.DSet -- cgit v1.2.1