[commit: ghc] master: Name TypeRep constructor fields (3c8e55c)

git at git.haskell.org git at git.haskell.org
Fri Nov 3 00:16:10 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/3c8e55ce7383e73bbca74b9954560b8555c5c5d4/ghc

>---------------------------------------------------------------

commit 3c8e55ce7383e73bbca74b9954560b8555c5c5d4
Author: David Feuer <david.feuer at gmail.com>
Date:   Thu Nov 2 17:30:23 2017 -0400

    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


>---------------------------------------------------------------

3c8e55ce7383e73bbca74b9954560b8555c5c5d4
 libraries/base/Data/Typeable/Internal.hs | 132 ++++++++++++++++++++-----------
 1 file changed, 88 insertions(+), 44 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 3c8e55ce7383e73bbca74b9954560b8555c5c5d4


More information about the ghc-commits mailing list