base: Add missing instances for Data.Ord.Down
authorBen Gamari <bgamari.foss@gmail.com>
Tue, 19 Jun 2018 21:11:05 +0000 (17:11 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 20 Jun 2018 00:15:46 +0000 (20:15 -0400)
commit21fa62feace8524cbf4559ccfcc96b22cb07879f
tree71db68691ebbcf861827388632ca140b8bfd21f2
parent436c0e9b5e201b9121e4b48a7351dd42800eb7f3
base: Add missing instances for Data.Ord.Down

Specifically:

 * MonadFix
 * MonadZip
 * Data
 * Foldable
 * Traversable
 * Eq1
 * Ord1
 * Read1
 * Show1
 * Generic
 * Generic1

Fixes #15098.

Reviewers: RyanGlScott, hvr

Reviewed By: RyanGlScott

Subscribers: sjakobi, rwbarton, thomie, ekmett, carter

GHC Trac Issues: #15098

Differential Revision: https://phabricator.haskell.org/D4870
17 files changed:
libraries/base/Control/Monad/Fix.hs
libraries/base/Control/Monad/Zip.hs
libraries/base/Data/Data.hs
libraries/base/Data/Foldable.hs
libraries/base/Data/Functor/Classes.hs
libraries/base/Data/Traversable.hs
libraries/base/GHC/Generics.hs
libraries/base/changelog.md
testsuite/tests/annotations/should_fail/annfail10.stderr
testsuite/tests/ghci/scripts/T10963.stderr
testsuite/tests/polykinds/T13393.stderr
testsuite/tests/typecheck/should_compile/T14273.stderr
testsuite/tests/typecheck/should_compile/holes2.stderr
testsuite/tests/typecheck/should_compile/valid_hole_fits.stderr
testsuite/tests/typecheck/should_fail/T10971b.stderr
testsuite/tests/typecheck/should_fail/T12921.stderr
testsuite/tests/typecheck/should_fail/T14884.stderr