Add instances for (:~~:) mirroring those for (:~:)
`(:~~:)`, the hetergeneous version of `(:~:)`, should have class instances similar to those of `(:~:)`, especially since their implementations aren't particularly tricky or surprising. This adds them. Reviewers: bgamari, austin, hvr, goldfire Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D3181
Showing
- libraries/base/Control/Category.hs 5 additions, 0 deletionslibraries/base/Control/Category.hs
- libraries/base/Data/Data.hs 5 additions, 0 deletionslibraries/base/Data/Data.hs
- libraries/base/Data/Type/Coercion.hs 4 additions, 0 deletionslibraries/base/Data/Type/Coercion.hs
- libraries/base/Data/Type/Equality.hs 25 additions, 0 deletionslibraries/base/Data/Type/Equality.hs
- testsuite/tests/annotations/should_fail/annfail10.stderr 1 addition, 1 deletiontestsuite/tests/annotations/should_fail/annfail10.stderr
- testsuite/tests/typecheck/should_fail/T12921.stderr 1 addition, 1 deletiontestsuite/tests/typecheck/should_fail/T12921.stderr
Loading
Please register or sign in to comment