[commit: ghc] ghc-8.0: Rename "open" subst functions (fdd7ac3)

git at git.haskell.org git at git.haskell.org
Tue Feb 2 22:56:19 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/fdd7ac3a1f8e664c0814c70102c0f057b8a6a4f8/ghc

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

commit fdd7ac3a1f8e664c0814c70102c0f057b8a6a4f8
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
    
    (cherry picked from commit 5dcae88bd0df440abe78c3d793d21aca6236fc25)


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

fdd7ac3a1f8e664c0814c70102c0f057b8a6a4f8
 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 fdd7ac3a1f8e664c0814c70102c0f057b8a6a4f8


More information about the ghc-commits mailing list