[commit: ghc] wip/ghc-8.0-det: Rename FV related functions (28c4a84)
git at git.haskell.org
git at git.haskell.org
Mon Jul 25 14:58:01 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/ghc-8.0-det
Link : http://ghc.haskell.org/trac/ghc/changeset/28c4a844d7b5aac2114827f8237ba8f918588ab9/ghc
>---------------------------------------------------------------
commit 28c4a844d7b5aac2114827f8237ba8f918588ab9
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`.
(cherry picked from commit 2e33320a24e5a7b837b4c217f95ca428cd6e5482)
>---------------------------------------------------------------
28c4a844d7b5aac2114827f8237ba8f918588ab9
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 28c4a844d7b5aac2114827f8237ba8f918588ab9
More information about the ghc-commits
mailing list