[commit: ghc] master: Rename FV related functions (2e33320)
git at git.haskell.org
git at git.haskell.org
Wed Apr 20 21:34:55 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/2e33320a24e5a7b837b4c217f95ca428cd6e5482/ghc
>---------------------------------------------------------------
commit 2e33320a24e5a7b837b4c217f95ca428cd6e5482
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`.
>---------------------------------------------------------------
2e33320a24e5a7b837b4c217f95ca428cd6e5482
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 | 132 +++++++++++++++++------------------
compiler/types/Type.hs | 2 +-
compiler/utils/FV.hs | 69 +++++++++---------
10 files changed, 208 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 2e33320a24e5a7b837b4c217f95ca428cd6e5482
More information about the ghc-commits
mailing list