[project @ 2003-04-21 16:32:05 by ross]
authorross <unknown>
Mon, 21 Apr 2003 16:32:05 +0000 (16:32 +0000)
committerross <unknown>
Mon, 21 Apr 2003 16:32:05 +0000 (16:32 +0000)
Hugs only: Key is defined in Hugs.Prelude (because it needs Dynamic)

Data/Dynamic.hs

index ea479b6..4a12b20 100644 (file)
@@ -437,7 +437,9 @@ INSTANCE_TYPEABLE1(IORef,ioRefTc,"IORef")
 --
 ---------------------------------------------
 
+#ifndef __HUGS__
 newtype Key = Key Int deriving( Eq )
+#endif
 
 data KeyPr = KeyPr !Key !Key deriving( Eq )