[commit: ghc] master: testsuite: Fix non-canonical Monoid instance in T3001-2 (17b60f1)
git at git.haskell.org
git at git.haskell.org
Wed Oct 17 19:07:58 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/17b60f18202c9ddeb881a0654e91967506f093f4/ghc
>---------------------------------------------------------------
commit 17b60f18202c9ddeb881a0654e91967506f093f4
Author: Ben Gamari <ben at smart-cactus.org>
Date: Wed Oct 17 15:04:31 2018 -0400
testsuite: Fix non-canonical Monoid instance in T3001-2
>---------------------------------------------------------------
17b60f18202c9ddeb881a0654e91967506f093f4
testsuite/tests/profiling/should_run/T3001-2.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuite/tests/profiling/should_run/T3001-2.hs b/testsuite/tests/profiling/should_run/T3001-2.hs
index 17fa0c9..538a435 100644
--- a/testsuite/tests/profiling/should_run/T3001-2.hs
+++ b/testsuite/tests/profiling/should_run/T3001-2.hs
@@ -289,5 +289,5 @@ instance Semigroup Builder where
instance Monoid Builder where
mempty = emptyBuilder
- mappend = append
+ mappend = (<>)
More information about the ghc-commits
mailing list