[commit: ghc] wip/ghc-8.0-det: Rename FV related functions (8f007d6)
git at git.haskell.org
git at git.haskell.org
Thu Jul 14 13:53:25 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/ghc-8.0-det
Link : http://ghc.haskell.org/trac/ghc/changeset/8f007d6383273e2d1614469464dc712a12b225ed/ghc
>---------------------------------------------------------------
commit 8f007d6383273e2d1614469464dc712a12b225ed
Author: Bartosz Nitka <niteria at gmail.com>
Date: Wed Apr 20 09:51:05 2016 -0700
Rename FV related functions
This is from Simon's suggestion:
* `tyCoVarsOfTypesAcc` is a terrible name for a function with a
perfectly decent type `[Type] -> FV`. Maybe `tyCoFVsOfTypes`?
Similarly others
* `runFVList` is also terrible, but also has a decent type.
Maybe just `fvVarList` (and `fvVarSet` for `runFVSet`).
* `someVars` could be `mkFVs :: [Var] -> FV`.
>---------------------------------------------------------------
8f007d6383273e2d1614469464dc712a12b225ed
compiler/coreSyn/CoreFVs.hs | 150 ++++++++++++++++++++--------------------
compiler/coreSyn/CoreSubst.hs | 2 +-
compiler/simplCore/SetLevels.hs | 4 +-
compiler/typecheck/TcDeriv.hs | 10 +--
compiler/typecheck/TcRnTypes.hs | 32 +++++----
compiler/typecheck/TcType.hs | 10 +--
compiler/types/Coercion.hs | 2 +-
compiler/types/TyCoRep.hs | 144 ++++++++++++++++++++------------------
compiler/types/Type.hs | 2 +-
compiler/utils/FV.hs | 69 +++++++++---------
10 files changed, 220 insertions(+), 205 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 8f007d6383273e2d1614469464dc712a12b225ed
More information about the ghc-commits
mailing list