status changed; resolution set
status changed from new to closedresolution set to wontfix Lots of good discussion on this subject in #3676. I think we concluded that Rational does not include infinity as a value. Based on that, and...
View ArticleArticle 6
In libraries/base/GHC/Real.lhs, I added instance (Integral a) => Ord (Ratio a) where {-# SPECIALIZE instance Ord Rational #-} + (x:%0) <= (x':%0 ) = x < 0 || 0 < x' + (x:%0) <= (_ :%_ )...
View ArticleArticle 5
In libraries/base/GHC/Real.lhs, I added instance (Integral a) => Ord (Ratio a) where {-# SPECIALIZE instance Ord Rational #-} + (x:%0) <= (x':%0 ) = x < 0 0 < x' + (x:%0) <= (_ :%_ ) =...
View Articlecomponent changed; difficulty, milestone set
difficulty set to Unknowncomponent changed from Compiler to libraries/basemilestone set to _|_ Actually, if you use 1%0 then you just get lots of *** Exception: Ratio.%: zero denominator If you use...
View Articleattachment set
attachment set to infcheck.hs small sample program which shows the trouble cases
View Article
More Pages to Explore .....