summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T10963.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts/T10963.script')
-rw-r--r--testsuite/tests/ghci/scripts/T10963.script4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/scripts/T10963.script b/testsuite/tests/ghci/scripts/T10963.script
index 357d1256ba..2bba5b36ef 100644
--- a/testsuite/tests/ghci/scripts/T10963.script
+++ b/testsuite/tests/ghci/scripts/T10963.script
@@ -3,5 +3,7 @@
:t +d length
let foo :: (Num a, Monoid a) => a -> a; foo = undefined
:t +d foo
-instance Monoid Double where mempty = 0; mappend = (+)
+import Data.Semigroup
+instance Semigroup Double where (<>) = (+)
+instance Monoid Double where mempty = 0
:t +d foo