#1517: Ratio Int is not well ordered
-----------------------------------+----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Moderate (1 day)
Os: Multiple | Testcase:
Architecture: Multiple |
-----------------------------------+----------------------------------------
Changes (by [EMAIL PROTECTED]):
* difficulty: Easy (1 hr) => Moderate (1 day)
Comment:
I've attached a patch to Real.lhs that mostly fixes the problem. If you
apply the patch to GHC 6.6.1 and recompile, then compile demo.hs with the
new ghc, it will give the right output. demo.hs will also work right with
the new ghci command.
runhaskell and runghc, however, still have the bug. I haven't been able
to figure out where their implementation of Ratio is coming from.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1517>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs