[commit: ghc] master: Refactor some ppr functions to use pprUFM (5416fad)

git at git.haskell.org git at git.haskell.org
Thu May 12 16:31:17 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5416fadb7387cbe89752faa875b2dade60655cf2/ghc

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

commit 5416fadb7387cbe89752faa875b2dade60655cf2
Author: Bartosz Nitka <niteria at gmail.com>
Date:   Thu May 12 08:01:34 2016 -0700

    Refactor some ppr functions to use pprUFM
    
    Nondeterminism doesn't matter in these places and pprUFM makes
    it obvious. I've flipped the order of arguments for convenience.
    
    Test Plan: ./validate
    
    Reviewers: simonmar, bgamari, austin, simonpj
    
    Reviewed By: simonpj
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2205
    
    GHC Trac Issues: #4012


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

5416fadb7387cbe89752faa875b2dade60655cf2
 compiler/basicTypes/RdrName.hs   | 3 ++-
 compiler/basicTypes/VarSet.hs    | 4 ++--
 compiler/coreSyn/CoreSubst.hs    | 4 +++-
 compiler/main/HscTypes.hs        | 6 +++---
 compiler/simplCore/SimplEnv.hs   | 5 +++--
 compiler/specialise/Rules.hs     | 6 ++++--
 compiler/typecheck/FamInst.hs    | 2 +-
 compiler/typecheck/FunDeps.hs    | 2 +-
 compiler/typecheck/TcErrors.hs   | 2 +-
 compiler/typecheck/TcHsSyn.hs    | 3 ++-
 compiler/typecheck/TcRnDriver.hs | 2 +-
 compiler/utils/UniqFM.hs         | 8 ++++----
 12 files changed, 27 insertions(+), 20 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 5416fadb7387cbe89752faa875b2dade60655cf2


More information about the ghc-commits mailing list