[commit: nofib] master: Fix fannkuch-redux for GHC<=8.2 (40748b3)
git at git.haskell.org
git at git.haskell.org
Wed Jan 31 18:52:48 UTC 2018
Repository : ssh://git@git.haskell.org/nofib
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/40748b305de4197ba8cfe178cea87a8234cf534b/nofib
>---------------------------------------------------------------
commit 40748b305de4197ba8cfe178cea87a8234cf534b
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date: Wed Jan 17 14:39:10 2018 +0300
Fix fannkuch-redux for GHC<=8.2
Reviewers: O26 nofib
Differential Revision: https://phabricator.haskell.org/D4320
>---------------------------------------------------------------
40748b305de4197ba8cfe178cea87a8234cf534b
shootout/fannkuch-redux/Main.hs | 1 +
1 file changed, 1 insertion(+)
diff --git a/shootout/fannkuch-redux/Main.hs b/shootout/fannkuch-redux/Main.hs
index b920e9f..c2705ba 100644
--- a/shootout/fannkuch-redux/Main.hs
+++ b/shootout/fannkuch-redux/Main.hs
@@ -23,6 +23,7 @@ instance Semigroup F where
instance Monoid F where
mempty = F 0 0
+ mappend = (<>)
incPtr = (`advancePtr` 1)
decPtr = (`advancePtr` (-1))
More information about the ghc-commits
mailing list