[nhc-users] Help needed with a compiling error
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Tue Apr 22 10:22:10 EDT 2008
HP Wei <hp at rentec.com> wrote:
> Fail: superclassesI InfoUsedClass 52 [(Type class, Text.Printf.PrintfArg,
> "ftnirP.txeT", 52:11-52:19)] ...
nhc98 is confused about whether the classes defined in Test.Printf are
necessary or not. There is a workaround: explicit imports. Replace
import Text.Printf
with
import Text.Printf (IsChar(),PrintfArg(),printf)
and everything will work OK.
Regards,
Malcolm
More information about the Nhc-users
mailing list