Re: Error compiling nhc98-1.0pre18



About this list Date view Thread view Subject view Author view

Malcolm Wallace (malcolm-nhc@cs.york.ac.uk)
Wed, 19 Apr 2000 18:47:48 +0100


> nhc98 -c -p [...] src/prelude/Numeric/ShowFloat.o ShowFloat.hs > Type constructor Rational used at 40:12 is not defined. I'm not entirely sure of the cause of this, but in src/prelude/Numeric/ShowFloat.hs, try either commenting out the line > import Ratio(Ratio,(%)) or changing it to > import Ratio(Ratio,Rational,(%)) If this still doesn't work, another thing you could try is to remove all the existing .hi files in src/prelude/Numeric, together with all the object files in targets/`harch`/objp/prelude/Numeric, then try the make again. Hope this helps, Regards, Malcolm


About this list Date view Thread view Subject view Author view