From 10ae08bdd8bdbc9312d6d6f27c625bbb28589c2c Mon Sep 17 00:00:00 2001 From: "Malcolm.Wallace@cs.york.ac.uk" Date: Wed, 17 Sep 2008 07:53:26 +0000 Subject: [PATCH] In nhc98, Word is a type synonym, so class instance is not possible. --- Text/Printf.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Text/Printf.hs b/Text/Printf.hs index 4b11931..f14ac0e 100644 --- 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 -- 1.7.10.4