Rename FV related functions
authorBartosz Nitka <niteria@gmail.com>
Wed, 20 Apr 2016 16:51:05 +0000 (09:51 -0700)
committerBartosz Nitka <niteria@gmail.com>
Wed, 20 Apr 2016 21:34:00 +0000 (14:34 -0700)
commit2e33320a24e5a7b837b4c217f95ca428cd6e5482
tree2b2849bcb647ce342c76bca2328a5e396dbc5b53
parent55b1b85df424747b8ef3b7301c1cdec36c4bbe62
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`.
compiler/coreSyn/CoreFVs.hs
compiler/coreSyn/CoreSubst.hs
compiler/simplCore/SetLevels.hs
compiler/typecheck/TcDeriv.hs
compiler/typecheck/TcRnTypes.hs
compiler/typecheck/TcType.hs
compiler/types/Coercion.hs
compiler/types/TyCoRep.hs
compiler/types/Type.hs
compiler/utils/FV.hs