diff options
author | Moritz Kiefer <moritz.kiefer@purelyfunctional.org> | 2015-09-17 16:02:06 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-09-17 16:02:18 +0200 |
commit | 43eb1dc52a4d3cbba9617f5a26177b8251d84b6a (patch) | |
tree | aa07eb3e0b02d76b6e28035ab19f3e7cdb775a78 /testsuite/tests/ghci/scripts/ghci008.stdout | |
parent | 8d89d80d907a7df1d455e87a382b41dc65c42140 (diff) | |
download | haskell-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.stdout | 3 |
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’
|