Sven writes:

> Both GHC and Hugs have a bug in their Prelude for Ratio's Enum
> instance. ...                              The reason for this
> is that the default method for enumFromThenTo is used, which truncates
> 4%3 to 1 (same for enumFromTo). 

I'd say that this is a bug in the Library Report, which seems to
specify this implementation.

(By the way, nhc98 suffers the same bug for the same reason, so can
 whoever fixes it first please publish their code so we can all share
 it?  :-)

Regards,
    Malcolm

Reply via email to