diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-08-23 13:30:44 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-12-03 10:12:04 -0500 |
commit | 81082cf410fdcdbf10627f5334cc1dba1a9a2e06 (patch) | |
tree | 49bb8038aab46f97ea2414ffc60652800614d4c2 /testsuite/tests/codeGen/should_run | |
parent | 0e274c39bf836d5bb846f5fa08649c75f85326ac (diff) | |
download | haskell-81082cf410fdcdbf10627f5334cc1dba1a9a2e06.tar.gz |
Revert "Data.List specialization to []"
This reverts commit bddecda1a4c96da21e3f5211743ce5e4c78793a2.
This implements the first step in the plan formulated in #20025 to
improve the communication and migration strategy for the proposed
changes to Data.List.
Requires changing the haddock submodule to update the test output.
Diffstat (limited to 'testsuite/tests/codeGen/should_run')
3 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/codeGen/should_run/T15038/common/Data/Trie/Naive.hs b/testsuite/tests/codeGen/should_run/T15038/common/Data/Trie/Naive.hs index b13aece069..a138615b2d 100644 --- a/testsuite/tests/codeGen/should_run/T15038/common/Data/Trie/Naive.hs +++ b/testsuite/tests/codeGen/should_run/T15038/common/Data/Trie/Naive.hs @@ -19,7 +19,7 @@ import Data.Map (Map) import Data.Bifunctor (second) import Packed.Bytes (Bytes) import qualified Data.Char -import qualified Data.List as L +import qualified GHC.OldList as L import qualified Packed.Bytes.Parser as P import qualified Packed.Bytes as B import qualified Data.Semigroup as SG diff --git a/testsuite/tests/codeGen/should_run/T15038/src/Packed/Bytes.hs b/testsuite/tests/codeGen/should_run/T15038/src/Packed/Bytes.hs index d4538506df..224e03f75d 100644 --- a/testsuite/tests/codeGen/should_run/T15038/src/Packed/Bytes.hs +++ b/testsuite/tests/codeGen/should_run/T15038/src/Packed/Bytes.hs @@ -27,7 +27,7 @@ import Data.Primitive (ByteArray(..)) import Data.Word (Word8) import Control.Monad.ST (runST, ST) import qualified Data.Primitive as PM -import qualified Data.List as L +import qualified GHC.OldList as L data Bytes = Bytes {-# UNPACK #-} !ByteArray -- payload diff --git a/testsuite/tests/codeGen/should_run/T20137/T20137.hs b/testsuite/tests/codeGen/should_run/T20137/T20137.hs index 4786e27778..2fa33b5cd9 100644 --- a/testsuite/tests/codeGen/should_run/T20137/T20137.hs +++ b/testsuite/tests/codeGen/should_run/T20137/T20137.hs @@ -5,7 +5,7 @@ module Main where -import Data.List +import Data.List (foldl') import Data.Bits import GHC.Ptr import Foreign.Ptr |