summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Float.hs
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-09-20 23:31:00 -0700
committerBen Gamari <ben@smart-cactus.org>2018-11-22 16:07:00 -0500
commita1bbb56f40b679f4841f0b044c0f5445ff6d3c5b (patch)
tree3d45011584fa680ef71c0f468dd3275acaed94f0 /libraries/base/GHC/Float.hs
parent9f3e22b9eb2e67323f965b652c37fdd73628b007 (diff)
downloadhaskell-a1bbb56f40b679f4841f0b044c0f5445ff6d3c5b.tar.gz
Doc-only fixes
* laws are capitalized definition lists, no emphasis on the labels * adds missing hyperlinks * fixes other misc. Haddock markup issues.
Diffstat (limited to 'libraries/base/GHC/Float.hs')
-rw-r--r--libraries/base/GHC/Float.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/base/GHC/Float.hs b/libraries/base/GHC/Float.hs
index 3ac9408442..b7d9c1f64c 100644
--- a/libraries/base/GHC/Float.hs
+++ b/libraries/base/GHC/Float.hs
@@ -71,6 +71,7 @@ infixr 8 **
--
-- * @exp (a + b)@ = @exp a * exp b@
-- * @exp (fromInteger 0)@ = @fromInteger 1@
+--
class (Fractional a) => Floating a where
pi :: a
exp, log, sqrt :: a -> a