diff options
author | Ben Gamari <ben@smart-cactus.org> | 2015-11-16 17:02:58 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-11-16 21:59:46 +0100 |
commit | 741cf18a5e4ee5d0aa8afcab813441e7bcd4050c (patch) | |
tree | 03679c0ea12be12f360580832ea3f994f8da60dc /docs | |
parent | 3773e9119b1f81563d9dadb02f1ddc0a9ef724a9 (diff) | |
download | haskell-741cf18a5e4ee5d0aa8afcab813441e7bcd4050c.tar.gz |
Weaken monadic list operations to Applicative
Generalize `filterM`, `mapAndUnzipM`, `zipWithM`, `zipWithM_`,
`replicateM`, and `replicateM_`.
Reviewers: ekmett, #core_libraries_committee, austin, hvr, bgamari
Reviewed By: ekmett, #core_libraries_committee, bgamari
Subscribers: ekmett, glguy, thomie
Projects: #ghc
Differential Revision: https://phabricator.haskell.org/D1324
GHC Trac Issues: #10168
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/7.12.1-notes.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/users_guide/7.12.1-notes.rst b/docs/users_guide/7.12.1-notes.rst index 5cc02ad114..d9ac18b09e 100644 --- a/docs/users_guide/7.12.1-notes.rst +++ b/docs/users_guide/7.12.1-notes.rst @@ -215,6 +215,11 @@ base ``disableAllocationLimit`` are now available from ``System.Mem``. Previously this functionality was only available from ``GHC.Conc``. +- ``forever``, ``filterM``, ``mapAndUnzipM``, ``zipWithM``, ``zipWithM_``, + ``replicateM``, and ``replicateM`` were generalized from ``Monad`` to + ``Applicative``. If this causes performance regressions, try to make the + implementation of ``(*>)`` match that of ``(>>)``. + binary ~~~~~~ |