summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Float.hs
diff options
context:
space:
mode:
authorSimon Jakobi <simon.jakobi@gmail.com>2018-10-23 16:29:13 +0200
committerBen Gamari <ben@smart-cactus.org>2018-11-02 14:33:55 -0400
commitc088137949bd69ee463c08a0d221517bc5108945 (patch)
tree9bd6e788a98160b02825d57c2d8d9c134c406e9d /libraries/base/GHC/Float.hs
parentc3c552d6ef4bdbbd7e2928dac864ff6009b36311 (diff)
downloadhaskell-c088137949bd69ee463c08a0d221517bc5108945.tar.gz
base: Misc haddock fixes
(cherry picked from commit ee545ff44e0ba9a165de40807548c75bf181dda3)
Diffstat (limited to 'libraries/base/GHC/Float.hs')
-rw-r--r--libraries/base/GHC/Float.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/GHC/Float.hs b/libraries/base/GHC/Float.hs
index 9296978bd4..3ac9408442 100644
--- a/libraries/base/GHC/Float.hs
+++ b/libraries/base/GHC/Float.hs
@@ -65,11 +65,11 @@ infixr 8 **
-- | Trigonometric and hyperbolic functions and related functions.
--
--- The Haskell Report defines no laws for 'Floating'. However, '(+)', '(*)'
+-- The Haskell Report defines no laws for 'Floating'. However, @('+')@, @('*')@
-- and 'exp' are customarily expected to define an exponential field and have
-- the following properties:
--
--- * @exp (a + b)@ = @exp a * exp b
+-- * @exp (a + b)@ = @exp a * exp b@
-- * @exp (fromInteger 0)@ = @fromInteger 1@
class (Fractional a) => Floating a where
pi :: a