projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
External Core: print function types correctly, improve newtype pretty-printing
[ghc-hetmet.git]
/
compiler
/
basicTypes
/
VarSet.lhs
diff --git
a/compiler/basicTypes/VarSet.lhs
b/compiler/basicTypes/VarSet.lhs
index
812213d
..
d4293ba
100644
(file)
--- a/
compiler/basicTypes/VarSet.lhs
+++ b/
compiler/basicTypes/VarSet.lhs
@@
-1,7
+1,7
@@
%
%
+% (c) The University of Glasgow 2006
% (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
%
% (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
%
-\section{@VarSet@: Variable sets}
\begin{code}
module VarSet (
\begin{code}
module VarSet (
@@
-17,12
+17,13
@@
module VarSet (
elemVarSetByKey
) where
elemVarSetByKey
) where
+-- XXX This define is a bit of a hack, and should be done more nicely
+#define FAST_STRING_NOT_NEEDED 1
#include "HsVersions.h"
#include "HsVersions.h"
-import Var ( Var, Id, TyVar )
-import Unique ( Unique )
+import Var
+import Unique
import UniqSet
import UniqSet
-import UniqFM ( delFromUFM_Directly, addToUFM_C )
\end{code}
%************************************************************************
\end{code}
%************************************************************************
@@
-88,8
+89,8
@@
lookupVarSet = lookupUniqSet
mapVarSet = mapUniqSet
sizeVarSet = sizeUniqSet
filterVarSet = filterUniqSet
mapVarSet = mapUniqSet
sizeVarSet = sizeUniqSet
filterVarSet = filterUniqSet
-extendVarSet_C combine s x = addToUFM_C combine s x x
-delVarSetByKey = delFromUFM_Directly -- Can't be bothered to add this to UniqSet
+extendVarSet_C = addOneToUniqSet_C
+delVarSetByKey = delOneFromUniqSet_Directly
elemVarSetByKey = elemUniqSet_Directly
\end{code}
elemVarSetByKey = elemUniqSet_Directly
\end{code}