#2174: :p in GHCi debugger is broken for Integer
---------------------+------------------------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.10 branch
Component: GHCi | Version: 6.9
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
---------------------+------------------------------------------------------
Comment (by mnislaih):
Imho there is nothing fundamentally broken with :p in this example. It
just shows that GHC has become a little lazier w.r.t. Integers. I have
tried but can't find the exact patch producing this change, but it seems
to be due to the move of Integer into its own package.
By its nature, imho it is not reasonable to expect that the output of
:print will remain the same across GHC versions, as the evaluation
strategy in Haskell is not defined and GHC may change it over different
versions.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2174#comment:2>
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