projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f11ef0c
)
Word is a type synonym in nhc98 - so class instance not permitted.
author
Malcolm.Wallace@cs.york.ac.uk
<unknown>
Fri, 29 Jun 2007 12:20:35 +0000
(12:20 +0000)
committer
Malcolm.Wallace@cs.york.ac.uk
<unknown>
Fri, 29 Jun 2007 12:20:35 +0000
(12:20 +0000)
Text/Printf.hs
patch
|
blob
|
history
diff --git
a/Text/Printf.hs
b/Text/Printf.hs
index
01c6e23
..
bfd1ed6
100644
(file)
--- a/
Text/Printf.hs
+++ b/
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