[commit: ghc] master: Two small refactorings (850ae8c)

git at git.haskell.org git at git.haskell.org
Mon Jun 18 07:23:54 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/850ae8c5343b46ce519a35dd9526d7d6f9454455/ghc

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

commit 850ae8c5343b46ce519a35dd9526d7d6f9454455
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Sat Jun 16 23:30:26 2018 +0100

    Two small refactorings
    
    * Define Type.substTyVarBndrs, and use it
    
    * Rename substTyVarBndrCallback to substTyVarBndrUsing,
      and other analogous higher order functions.  I kept
      stumbling over the name.


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

850ae8c5343b46ce519a35dd9526d7d6f9454455
 compiler/basicTypes/DataCon.hs     |  4 ++--
 compiler/typecheck/TcDeriv.hs      |  8 +++-----
 compiler/typecheck/TcDerivInfer.hs |  2 +-
 compiler/typecheck/TcSplice.hs     |  5 ++---
 compiler/typecheck/TcTyClsDecls.hs |  3 +--
 compiler/types/Coercion.hs         | 16 ++++++++--------
 compiler/types/FamInstEnv.hs       |  4 ++--
 compiler/types/OptCoercion.hs      |  2 +-
 compiler/types/TyCoRep.hs          | 37 ++++++++++++++++++++-----------------
 compiler/types/Type.hs             |  8 ++++----
 10 files changed, 44 insertions(+), 45 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 850ae8c5343b46ce519a35dd9526d7d6f9454455


More information about the ghc-commits mailing list