diff options
author | Andrew Martin <andrew.thaddeus@gmail.com> | 2018-03-02 14:14:13 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-03-02 14:52:01 -0500 |
commit | 8c7a1551fcd004c37f4ccd99c7c10395179519f1 (patch) | |
tree | a904e862575495bb2e6c9b645743eace8901acf4 /docs | |
parent | d8e47a2ea89dbce647b06132ec10c39a2de67437 (diff) | |
download | haskell-8c7a1551fcd004c37f4ccd99c7c10395179519f1.tar.gz |
Move Data.Functor.Contravariant from the contravariant package to base.
Move Data.Functor.Contravariant from the contravariant package to base.
Since base is the bottom of the dependency hierarchy, several instances
have been removed. They will need to be added to the following packages:
transformers, StateVar, and possibly tagged. There may not actually have
been any types from tagged that previous had instanced provided by this
module though, since it may have only been used for Data.Proxy. Additionally,
all CPP has been removed. Derived Typeable instances have been removed
(since Typeable is now automatically derived for everything). The language
extension Safe is still used, although it is unclear to ATM whether or not
it is necessary.
This resolves trac issue #14767.
Test Plan: validate
Reviewers: RyanGlScott, ekmett, hvr, bgamari
Reviewed By: RyanGlScott
Subscribers: rwbarton, thomie, ekmett, carter, RyanGlScott
GHC Trac Issues: #14767
Differential Revision: https://phabricator.haskell.org/D4399
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/8.6.1-notes.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/users_guide/8.6.1-notes.rst b/docs/users_guide/8.6.1-notes.rst index 80beb6c74a..70c3b0c10d 100644 --- a/docs/users_guide/8.6.1-notes.rst +++ b/docs/users_guide/8.6.1-notes.rst @@ -60,7 +60,12 @@ Template Haskell ``base`` library ~~~~~~~~~~~~~~~~ -``($!)`` is now representation-polymorphic like ``($)``. +- ``($!)`` is now representation-polymorphic like ``($)``. + +- The module ``Data.Functor.Contravariant`` has been moved from the + ``contravariant`` package into base. All the other modules in + ``contravariant`` (``Data.Functor.Contravariant.Divisible``, etc.) + have not been moved to ``base``, and they still reside in ``contravariant``. Build system |