Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 10ae08bdd8bdbc9312d6d6f27c625bbb28589c2c 1 parent ed66a53
Malcolm.Wallace@cs.york.ac.uk authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  Text/Printf.hs
View
2  Text/Printf.hs
@@ -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.
Something went wrong with that request. Please try again.