Permalink
Browse files

In nhc98, Word is a type synonym, so class instance is not possible.

  • Loading branch information...
1 parent ed66a53 commit 10ae08bdd8bdbc9312d6d6f27c625bbb28589c2c Malcolm.Wallace@cs.york.ac.uk committed Sep 17, 2008
Showing with 2 additions and 0 deletions.
  1. +2 −0 Text/Printf.hs
View
@@ -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

0 comments on commit 10ae08b

Please sign in to comment.