[nhc-bugs] hmake Problem

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Wed, 30 May 2001 10:41:32 +0100


> This is probably bad configuration on my part, but I can't seem to build
> the one example program (in docs/examples/ZooQuiz.hs).

Actually, *cough*, that is my fault.  At some point in our transition
of nhc between Haskell 1.3 and Haskell 98, the automatic internal
qualified import of the Binary library (required for 'deriving Binary')
got removed from the compiler.

To work around this, you need to have *both* of the following imports:

    import Binary
    import qualified Binary

at the top of the ZooQuiz program.   Sorry about that.

Regards,
    Malcolm