summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTobias Decking <Tobias.Decking@gmail.com>2018-12-06 15:32:18 -0500
committerBen Gamari <ben@smart-cactus.org>2018-12-06 15:33:06 -0500
commitfb669f51b3f2cae79511ac3d1c43939d951b1f69 (patch)
treec131f28650d54ce012d789955718845148b9da20 /docs
parent1ef90f990da90036d481c830d8832e21b8f1571b (diff)
downloadhaskell-fb669f51b3f2cae79511ac3d1c43939d951b1f69.tar.gz
Add fusion rules for the zipWith functions in base (#15263)
This patch will allow `zip3` and `zipWith3` in `GHC.List` as well as `zipWith4`, `zipWith5`, `zipWith6` and `zipWith7` in `Data.OldList` to fuse. These rules are kept in a similar style as the rules for `zip` and `zipWith`. Added a corresponding test case. Test Plan: validate Reviewers: hvr, bgamari, simonpj Reviewed By: simonpj Subscribers: simonpj, rockbmb, rwbarton, carter GHC Trac Issues: #15263 Differential Revision: https://phabricator.haskell.org/D5241
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/8.8.1-notes.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/users_guide/8.8.1-notes.rst b/docs/users_guide/8.8.1-notes.rst
index c98c7e386c..ea38029a0a 100644
--- a/docs/users_guide/8.8.1-notes.rst
+++ b/docs/users_guide/8.8.1-notes.rst
@@ -149,6 +149,10 @@ Template Haskell
a representational one. There is really no reason to care about the
type of the underlying object.
+- The functions ``zipWith3`` and ``zip3`` in ``Prelude`` can now fuse,
+ together with ``zipWith4`` to ``zipWith7`` as well as their
+ tuple counterparts in ``Data.List``.
+
Build system
~~~~~~~~~~~~