Name TypeRep constructor fields
authorDavid Feuer <david.feuer@gmail.com>
Thu, 2 Nov 2017 21:30:23 +0000 (17:30 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 3 Nov 2017 00:15:48 +0000 (20:15 -0400)
commit3c8e55ce7383e73bbca74b9954560b8555c5c5d4
tree251e158758065ad3cfd4c9d6096eca44c27a47b7
parenteb3713225fd3199a81357b5853194e56f732e308
Name TypeRep constructor fields

Give `TypeRep` constructor fields names, and use them when pattern
matching and constructing values. This is a bit verbose, but makes
it obvious which field means what.

Reviewers: austin, hvr, bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D4136
libraries/base/Data/Typeable/Internal.hs