Rename some of the functions in NameSet, to make the uniform with VarSet etc
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 28 Nov 2014 17:35:44 +0000 (17:35 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 28 Nov 2014 17:36:15 +0000 (17:36 +0000)
commit7460dafae3709218af651cb8bc47b5f03d4c25c7
tree55eacd9c3fbaf7d48fc80190f376f0c55bbf1ad1
parent171101beca39befde191baff5027c417bcc709ee
Rename some of the functions in NameSet, to make the uniform with VarSet etc

For ages NameSet has used different names,
  eg.   addOneToNameSet   rather than    extendNameSet
        nameSetToList     rather than    nameSetElems

etc.  Other set-like modules use uniform naming conventions.
This patch makes NameSet follow suit.

No change in behaviour; this is just renaming.

I'm doing this just before the fork so that merging is easier.
30 files changed:
compiler/basicTypes/Avail.hs
compiler/basicTypes/MkId.lhs
compiler/basicTypes/NameSet.lhs
compiler/basicTypes/RdrName.lhs
compiler/coreSyn/CoreFVs.lhs
compiler/deSugar/Coverage.lhs
compiler/ghci/ByteCodeAsm.hs
compiler/ghci/Linker.hs
compiler/hsSyn/HsUtils.lhs
compiler/iface/IfaceSyn.lhs
compiler/iface/MkIface.lhs
compiler/main/GHC.hs
compiler/main/HscTypes.lhs
compiler/main/InteractiveEval.hs
compiler/rename/RnBinds.lhs
compiler/rename/RnExpr.lhs
compiler/rename/RnNames.lhs
compiler/rename/RnSource.lhs
compiler/typecheck/TcBinds.lhs
compiler/typecheck/TcInstDcls.lhs
compiler/typecheck/TcRnDriver.lhs
compiler/typecheck/TcRnMonad.lhs
compiler/typecheck/TcSplice.lhs
compiler/typecheck/TcTyDecls.lhs
compiler/typecheck/TcType.lhs
compiler/types/FamInstEnv.lhs
compiler/types/TyCon.lhs
compiler/vectorise/Vectorise/Monad.hs
compiler/vectorise/Vectorise/Type/Classify.hs
compiler/vectorise/Vectorise/Type/Env.hs