diff options
author | Oleg Grenrus <oleg.grenrus@iki.fi> | 2021-01-19 13:43:54 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-01-29 04:03:22 -0500 |
commit | 6fc920847f65e9b9f347bde42b2f9ec624468cfd (patch) | |
tree | 7585cb4198e5a0f96b7f05a47c1a4a9138008d8a /compiler/GHC/Core/Utils.hs | |
parent | 37378a0b20d068f5704486dbd03b3f4099442965 (diff) | |
download | haskell-6fc920847f65e9b9f347bde42b2f9ec624468cfd.tar.gz |
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.
Diffstat (limited to 'compiler/GHC/Core/Utils.hs')
-rw-r--r-- | compiler/GHC/Core/Utils.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Core/Utils.hs b/compiler/GHC/Core/Utils.hs index 3115e163f1..a67955ad2b 100644 --- a/compiler/GHC/Core/Utils.hs +++ b/compiler/GHC/Core/Utils.hs @@ -104,7 +104,7 @@ import GHC.Utils.Misc import GHC.Data.Pair import Data.ByteString ( ByteString ) import Data.Function ( on ) -import Data.List +import Data.List ( sort, sortBy, partition, zipWith4, mapAccumL ) import Data.Ord ( comparing ) import GHC.Data.OrdList import qualified Data.Set as Set |