Here's a small illustration of another Hugs diagnostic that bit me today.
This is with Hugs 98 version 990121 Beta.
Source code:
(x, y) = (x, toRational 0.0 % 1000.00)
Diagnostic:
ERROR "hugsmsg1.hs" (line 1): Unresolved top-level overloading
*** Binding : x
*** Outstanding context : Integral (Ratio Integer)
In the actual case that I was compiling, the mention of x in the diagnostic
misled me very effectively. It wouldn't even be particularly helpful to
indicate that the binding context is (x,y), because the error is entirely
limited to the expression
toRational 0.0 % 1000.00
--
Scott Turner
[EMAIL PROTECTED] http://www.ma.ultranet.com/~pkturner