#2825: Stack overflow death
-----------------------------+----------------------------------------------
Reporter: osuch | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 6.10.1 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
GHCI dies without any warning, if evaluation of the function ex3 in the
following code fragment is attempted:
ex2 x partial sum n = let partial = partial * x / fromIntegral(n)
in if (partial + sum == sum)
then sum
else ex2 x partial (sum + partial) (n+1)
ex3 x = ex2 x 1 1.0 1
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2825>
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