[commit: ghc] master: Move Data.Functor.Contravariant from the contravariant package to base. (8c7a155)
git at git.haskell.org
git at git.haskell.org
Fri Mar 2 21:07:37 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/8c7a1551fcd004c37f4ccd99c7c10395179519f1/ghc
>---------------------------------------------------------------
commit 8c7a1551fcd004c37f4ccd99c7c10395179519f1
Author: Andrew Martin <andrew.thaddeus at gmail.com>
Date: Fri Mar 2 14:14:13 2018 -0500
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
>---------------------------------------------------------------
8c7a1551fcd004c37f4ccd99c7c10395179519f1
docs/users_guide/8.6.1-notes.rst | 7 +-
libraries/base/Data/Functor/Contravariant.hs | 295 +++++++++++++++++++++++++++
libraries/base/base.cabal | 1 +
libraries/base/changelog.md | 2 +
4 files changed, 304 insertions(+), 1 deletion(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 8c7a1551fcd004c37f4ccd99c7c10395179519f1
More information about the ghc-commits
mailing list