diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-08-23 13:30:44 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2021-12-02 17:05:30 +0000 |
commit | 64f213282bfe51a56ffb5937fa2bc74e4dabea40 (patch) | |
tree | 69ef5542d9c54b94e995828bdc2c99fa96ed2c29 /libraries/base/Data/Foldable.hs | |
parent | d3c7f9be47ac99637ac0ede0759f77da320afaad (diff) | |
download | haskell-wip/revert-data-list.tar.gz |
Revert "Data.List specialization to []"wip/revert-data-list
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 'libraries/base/Data/Foldable.hs')
-rw-r--r-- | libraries/base/Data/Foldable.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/base/Data/Foldable.hs b/libraries/base/Data/Foldable.hs index 24bf13566a..c9e48bb868 100644 --- a/libraries/base/Data/Foldable.hs +++ b/libraries/base/Data/Foldable.hs @@ -2454,7 +2454,9 @@ elements in a single pass. -- The more general methods of the 'Foldable' class are now exported by the -- "Prelude" in place of the original List-specific methods (see the -- [FTP Proposal](https://wiki.haskell.org/Foldable_Traversable_In_Prelude)). --- The List-specific variants are still available in "Data.List". +-- The List-specific variants are for now still available in "GHC.OldList", but +-- that module is intended only as a transitional aid, and may be removed in +-- the future. -- -- Surprises can arise from the @Foldable@ instance of the 2-tuple @(a,)@ which -- now behaves as a 1-element @Foldable@ container in its second slot. In |