Add gcoerceWith to Data.Type.Coercion
authorRyan Scott <ryan.gl.scott@gmail.com>
Thu, 18 Aug 2016 13:11:03 +0000 (09:11 -0400)
committerRyan Scott <ryan.gl.scott@gmail.com>
Thu, 18 Aug 2016 13:11:03 +0000 (09:11 -0400)
commit113d50b791c469394d38fab6ce5b760e5e8c35e2
tree74ce30e83d9bcfc54de7875f9fc7c5223f4aa779
parentd61027438102e212c47721306d4f294278e95b57
Add gcoerceWith to Data.Type.Coercion

Summary:
For symmetry with `gcastWith` in `Data.Type.Equality`.

Fixes #12493.

Test Plan: It compiles

Reviewers: bgamari, goldfire, hvr, austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2456

GHC Trac Issues: #12493
docs/users_guide/8.2.1-notes.rst
libraries/base/Data/Type/Coercion.hs
libraries/base/changelog.md