In nhc98, Word is a type synonym, so class instance is not possible. 6_10_branch_has_been_forked
authorMalcolm.Wallace@cs.york.ac.uk <unknown>
Wed, 17 Sep 2008 07:53:26 +0000 (07:53 +0000)
committerMalcolm.Wallace@cs.york.ac.uk <unknown>
Wed, 17 Sep 2008 07:53:26 +0000 (07:53 +0000)
Text/Printf.hs

index 4b11931..f14ac0e 100644 (file)
@@ -147,8 +147,10 @@ instance PrintfArg Int32 where
 instance PrintfArg Int64 where
     toUPrintf = uInteger
 
+#ifndef __NHC__
 instance PrintfArg Word where
     toUPrintf = uInteger
+#endif
 
 instance PrintfArg Word8 where
     toUPrintf = uInteger