X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FbasicTypes%2FNameSet.lhs;h=5c2c1b857b9c0576d6eebcf592fdc1869fca27f2;hb=418175d3c36ca51495d9dfb085fb01711e4c38f9;hp=d0e55dec687b00c86b40a0181f9ede47568c74f3;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/compiler/basicTypes/NameSet.lhs b/compiler/basicTypes/NameSet.lhs index d0e55de..5c2c1b8 100644 --- a/compiler/basicTypes/NameSet.lhs +++ b/compiler/basicTypes/NameSet.lhs @@ -1,7 +1,7 @@ % +% (c) The University of Glasgow 2006 % (c) The GRASP/AQUA Project, Glasgow University, 1998 % -\section[NameSet]{@NameSets@} \begin{code} module NameSet ( @@ -28,7 +28,6 @@ import Name import UniqSet \end{code} - %************************************************************************ %* * \subsection[Sets of names} @@ -54,7 +53,7 @@ foldNameSet :: (Name -> b -> b) -> b -> NameSet -> b filterNameSet :: (Name -> Bool) -> NameSet -> NameSet intersectNameSet :: NameSet -> NameSet -> NameSet intersectsNameSet :: NameSet -> NameSet -> Bool -- True if non-empty intersection - -- (s1 `intersectsVarSet` s2) doesn't compute s2 if s1 is empty + -- (s1 `intersectsNameSet` s2) doesn't compute s2 if s1 is empty isEmptyNameSet = isEmptyUniqSet emptyNameSet = emptyUniqSet @@ -187,4 +186,4 @@ findUses dus uses = rhs_uses `unionNameSets` uses | otherwise -- No def is used = uses -\end{code} \ No newline at end of file +\end{code}