summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci008.stdout
diff options
context:
space:
mode:
authorMoritz Kiefer <moritz.kiefer@purelyfunctional.org>2015-09-17 16:02:06 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-09-17 16:02:18 +0200
commit43eb1dc52a4d3cbba9617f5a26177b8251d84b6a (patch)
treeaa07eb3e0b02d76b6e28035ab19f3e7cdb775a78 /testsuite/tests/ghci/scripts/ghci008.stdout
parent8d89d80d907a7df1d455e87a382b41dc65c42140 (diff)
downloadhaskell-43eb1dc52a4d3cbba9617f5a26177b8251d84b6a.tar.gz
Show minimal complete definitions in ghci (#10847)
Show the minimal complete definition on :info in ghci. They are shown like MINIMAL pragmas in code. If the minimal complete definition is empty or only a specific method from a class is requested, nothing is shown. Reviewed By: simonpj, austin, thomie Differential Revision: https://phabricator.haskell.org/D1241
Diffstat (limited to 'testsuite/tests/ghci/scripts/ghci008.stdout')
-rw-r--r--testsuite/tests/ghci/scripts/ghci008.stdout3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/ghci008.stdout b/testsuite/tests/ghci/scripts/ghci008.stdout
index 9a1bcf7551..eb057ca4bd 100644
--- a/testsuite/tests/ghci/scripts/ghci008.stdout
+++ b/testsuite/tests/ghci/scripts/ghci008.stdout
@@ -27,6 +27,9 @@ class (RealFrac a, Floating a) => RealFloat a where
isNegativeZero :: a -> Bool
isIEEE :: a -> Bool
atan2 :: a -> a -> a
+ {-# MINIMAL floatRadix, floatDigits, floatRange, decodeFloat,
+ encodeFloat, isNaN, isInfinite, isDenormalized, isNegativeZero,
+ isIEEE #-}
-- Defined in ‘GHC.Float’
instance RealFloat Float -- Defined in ‘GHC.Float’
instance RealFloat Double -- Defined in ‘GHC.Float’