projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Toggle whether the RTS gets build with debugger support for ghci
[ghc-hetmet.git]
/
compiler
/
utils
/
UniqSet.lhs
diff --git
a/compiler/utils/UniqSet.lhs
b/compiler/utils/UniqSet.lhs
index
129e333
..
ec3d1d9
100644
(file)
--- a/
compiler/utils/UniqSet.lhs
+++ b/
compiler/utils/UniqSet.lhs
@@
-1,4
+1,5
@@
%
%
+% (c) The University of Glasgow 2006
% (c) The AQUA Project, Glasgow University, 1994-1998
%
\section[UniqSet]{Specialised sets, for things with @Uniques@}
% (c) The AQUA Project, Glasgow University, 1994-1998
%
\section[UniqSet]{Specialised sets, for things with @Uniques@}
@@
-21,8
+22,6
@@
module UniqSet (
#include "HsVersions.h"
#include "HsVersions.h"
-import {-# SOURCE #-} Name ( Name )
-
import Maybes ( maybeToBool )
import UniqFM
import Unique ( Unique, Uniquable(..) )
import Maybes ( maybeToBool )
import UniqFM
import Unique ( Unique, Uniquable(..) )
@@
-122,6
+121,10
@@
mapUniqSet f (MkUniqSet set) = MkUniqSet (mapUFM f set)
{-# SPECIALIZE
addOneToUniqSet :: UniqSet Unique -> Unique -> UniqSet Unique
#-}
{-# SPECIALIZE
addOneToUniqSet :: UniqSet Unique -> Unique -> UniqSet Unique
#-}
+
+-- These next three specialisations disabled as importing Name creates a
+-- loop, and getting the Uniquable Name instance in particular is tricky.
+
{- SPECIALIZE
elementOfUniqSet :: Name -> UniqSet Name -> Bool
, Unique -> UniqSet Unique -> Bool
{- SPECIALIZE
elementOfUniqSet :: Name -> UniqSet Name -> Bool
, Unique -> UniqSet Unique -> Bool