From: Malcolm.Wallace@cs.york.ac.uk Date: Fri, 29 Jun 2007 12:20:35 +0000 (+0000) Subject: Word is a type synonym in nhc98 - so class instance not permitted. X-Git-Tag: 2007-09-13~54 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c3aaf44ddd7e1c725e63f606ea5ddfe6a8d2bb89;p=ghc-base.git Word is a type synonym in nhc98 - so class instance not permitted. --- diff --git a/Text/Printf.hs b/Text/Printf.hs index 01c6e23..bfd1ed6 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