[broken HEAD] In which the strict state monad fails at basic arithmetic

Simon Peyton Jones simonpj at microsoft.com
Fri Sep 1 20:37:57 UTC 2017


Wow -- Fast work!   Do add a test case

Simon

| -----Original Message-----
| From: ghc-devs [mailto:ghc-devs-bounces at haskell.org] On Behalf Of Ben
| Gamari
| Sent: 01 September 2017 14:53
| To: Moritz Angermann <moritz.angermann at gmail.com>; GHC developers <ghc-
| devs at haskell.org>
| Subject: Re: [broken HEAD] In which the strict state monad fails at basic
| arithmetic
| 
| Moritz Angermann <moritz.angermann at gmail.com> writes:
| 
| > Hi *,
| >
| > while working on some related code.  I came across a rather peculiar
| > behavior with GHC built from the current master branch at b2c2e3e8.
| >
| The issue was a bug indeed introduced by the commit you cite below. The
| problem was a mistake in a change in constant folding which,
| frighteningly, the testsuite did not catch. See D3904 for a fix and a
| test is forthcoming.
| 
| Cheers,
| 
| - Ben



More information about the ghc-devs mailing list