
I get a compilation failure with strange messages, as attached. Can you help? I can send source code if you want it. Dean Herington buzzard(108)% hi __ __ __ _____________________________________ || || ______ ___ || _ ____ hmake interactive (hi): ||___|| || || || ___|| ||/ ||__|| Copyright (c) May 2000 ||---|| || || || ||__|| ||\_ ||__ http://www.cs.york.ac.uk/fp/hmake/ || || Report bugs to: malcolm@cs.york.ac.uk || || Version: 2.02 (2001-02-08) ------------------------------------- ... Using compiler nhc98 ... Type :? for help [Std module... /stotts2/epa1/nhc98-1.08/rel/include/nhc98/Prelude.hi] Prelude> :l HUnit98Test [Std module... /stotts2/epa1/nhc98-1.08/rel/include/nhc98/Prelude.hi] [Found module... HUnit98Test.lhs] [Compiling...***instanceI(1) InfoUsedClass 254 [(Type class,HUnitClass.Charable,"edulerP",0)] (Leaf2 (90,([],[]))) ***instanceI(1) InfoUsedClass 254 [(Type class,HUnitClass.Charable,"edulerP",0)] (Leaf2 (90,([],[]))) Fail: infoDepend InfoUsedClass 254 [(Type class,HUnitClass.Charable,"edulerP",0)] (Leaf2 (90,([],[]))) ...failed] HUnit98Test>

Dean, The source code for this problem case would be useful. The error messages suggest that the class HUnitClass.Charable is used at a point where the definition is not available. This probably indicates a compiler bug in placing the appropriate information into the interface files. Regards, Malcolm
Prelude> :l HUnit98Test [Std module... /stotts2/epa1/nhc98-1.08/rel/include/nhc98/Prelude.hi] [Found module... HUnit98Test.lhs] [Compiling... ***instanceI(1) InfoUsedClass 254 [(Type class,HUnitClass.Charable,"edulerP",0)] (Leaf2 (90,([],[]))) ***instanceI(1) InfoUsedClass 254 [(Type class,HUnitClass.Charable,"edulerP",0)] (Leaf2 (90,([],[]))) infoDepend InfoUsedClass 254 [(Type class,HUnitClass.Charable,"edulerP",0)] (Leaf2 (90,([],[]))) ...failed]
participants (2)
-
Dean Herington
-
Malcolm Wallace