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. --- ghc/GHCi/UI/Info.hs | 2 +- ghc/GHCi/UI/Tags.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ghc') diff --git a/ghc/GHCi/UI/Info.hs b/ghc/GHCi/UI/Info.hs index e6cf0838ca..e7b2234dfa 100644 --- a/ghc/GHCi/UI/Info.hs +++ b/ghc/GHCi/UI/Info.hs @@ -26,7 +26,7 @@ import Control.Monad.Trans.Except import Control.Monad.Trans.Maybe import Data.Data import Data.Function -import Data.List +import Data.List (find, sortBy) import Data.Map.Strict (Map) import qualified Data.Map.Strict as M import Data.Maybe diff --git a/ghc/GHCi/UI/Tags.hs b/ghc/GHCi/UI/Tags.hs index 7d8331198a..94e7557410 100644 --- a/ghc/GHCi/UI/Tags.hs +++ b/ghc/GHCi/UI/Tags.hs @@ -29,7 +29,7 @@ import GHC.Driver.Env import Control.Monad import Data.Function -import Data.List +import Data.List (sort, sortBy, groupBy) import Data.Maybe import Data.Ord import GHC.Driver.Phases -- cgit v1.2.1