diff options
Diffstat (limited to 'testsuite/tests/ghci/scripts/T10963.script')
| -rw-r--r-- | testsuite/tests/ghci/scripts/T10963.script | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T10963.script b/testsuite/tests/ghci/scripts/T10963.script new file mode 100644 index 0000000000..357d1256ba --- /dev/null +++ b/testsuite/tests/ghci/scripts/T10963.script @@ -0,0 +1,7 @@ +:type mapM +:type +d mapM +:t +d length +let foo :: (Num a, Monoid a) => a -> a; foo = undefined +:t +d foo +instance Monoid Double where mempty = 0; mappend = (+) +:t +d foo |
