[commit: ghc] master: Rename "open" subst functions (5dcae88)

git at git.haskell.org git at git.haskell.org
Wed Jan 27 15:16:10 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5dcae88bd0df440abe78c3d793d21aca6236fc25/ghc

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

commit 5dcae88bd0df440abe78c3d793d21aca6236fc25
Author: Bartosz Nitka <niteria at gmail.com>
Date:   Tue Jan 26 11:59:37 2016 -0800

    Rename "open" subst functions
    
    This is the renaming that @simonpj requested:
    ```
    · zipOpenTCvSubst  -> zipTvSubst   (It only deals with tyvars)
    
    · zipOpenTCvSubstCoVars -> zipCvSubst   (it only deals with
    covars)
    
    · zipOpenTCvSubstBinders ->  zipTyBinderSubst  (it only deals
    with TyBinders, not covars)
    ```
    plus the `mk` variant.
    
    Test Plan: ./validate
    
    Reviewers: simonpj, goldfire, austin, bgamari
    
    Subscribers: thomie, simonpj
    
    Differential Revision: https://phabricator.haskell.org/D1853
    
    GHC Trac Issues: #11371


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

5dcae88bd0df440abe78c3d793d21aca6236fc25
 compiler/basicTypes/DataCon.hs   |  2 +-
 compiler/basicTypes/MkId.hs      |  4 +--
 compiler/coreSyn/CoreUtils.hs    |  2 +-
 compiler/deSugar/Check.hs        |  2 +-
 compiler/deSugar/DsExpr.hs       |  2 +-
 compiler/iface/BuildTyCl.hs      |  6 ++--
 compiler/iface/TcIface.hs        |  2 +-
 compiler/main/InteractiveEval.hs |  6 ++--
 compiler/typecheck/TcDeriv.hs    |  8 ++---
 compiler/typecheck/TcFlatten.hs  |  2 +-
 compiler/typecheck/TcInstDcls.hs |  2 +-
 compiler/typecheck/TcPat.hs      |  4 +--
 compiler/typecheck/TcTyDecls.hs  |  2 +-
 compiler/typecheck/TcType.hs     |  6 ++--
 compiler/types/FamInstEnv.hs     |  2 +-
 compiler/types/OptCoercion.hs    |  4 +--
 compiler/types/TyCoRep.hs        | 70 ++++++++++++++++++----------------------
 compiler/types/Type.hs           | 10 +++---
 18 files changed, 64 insertions(+), 72 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 5dcae88bd0df440abe78c3d793d21aca6236fc25


More information about the ghc-commits mailing list