[GHC] #10691: certain operations in new integer-gmp are too lazy
GHC
ghc-devs at haskell.org
Fri Mar 11 12:37:12 UTC 2016
#10691: certain operations in new integer-gmp are too lazy
-------------------------------------+-------------------------------------
Reporter: rwbarton | Owner:
Type: bug | Status: merge
Priority: normal | Milestone: 8.0.1
Component: libraries | Version: 7.10.1
(other) |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by bgamari):
* status: new => merge
* milestone: 8.2.1 => 8.0.1
@@ -8,1 +8,1 @@
- For consistency not just with Int, but also other integer-*
+ For consistency not just with `Int`, but also other integer-*
New description:
This came up in #ghc the other day.
{{{
rwbarton at morphism:~$ ghci-7.10.1
GHCi, version 7.10.1: http://www.haskell.org/ghc/ :? for help
Prelude> undefined * 0
0
}}}
For consistency not just with `Int`, but also other integer-*
implementations, this should be undefined.
Also affected is for example `andInteger`.
--
Comment:
Perhaps we want this in 8.0 afterall.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10691#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list