Add instances for Data.Ord.Down
authorAdam Sandberg Eriksson <adam@sandbergericsson.se>
Tue, 25 Apr 2017 22:41:28 +0000 (18:41 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 25 Apr 2017 22:41:29 +0000 (18:41 -0400)
commit47be6444d35783eea7dc3ab8b2f11626777cdbd8
treee3902b787e2407a91a32b9a50e8267586d6f7622
parent244602697c30e03ba63076941e4742ceeb78dd7c
Add instances for Data.Ord.Down

Namely `Num`, `Functor`, `Applicative`, `Monad`, `Semigroup` and
`Monoid` for `Data.Ord.Down` (#13097).

Reviewers: austin, hvr, bgamari, RyanGlScott

Reviewed By: bgamari, RyanGlScott

Subscribers: RyanGlScott, rwbarton, thomie

GHC Trac Issues: #13097

Differential Revision: https://phabricator.haskell.org/D3500
libraries/base/Data/Ord.hs
libraries/base/Data/Semigroup.hs
libraries/base/changelog.md
libraries/base/tests/T13097.hs [new file with mode: 0644]
libraries/base/tests/T13097.stdout [new file with mode: 0644]
libraries/base/tests/all.T