summaryrefslogtreecommitdiff
path: root/libraries/base/GHC
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-10-30 20:56:33 -0400
committerBen Gamari <ben@smart-cactus.org>2019-10-30 20:57:45 -0400
commit300ce9646575af0e1be6685432280895a4376dfe (patch)
tree20ae9f23590029627491795160e44616a8981d58 /libraries/base/GHC
parent4898df1cc25132dc9e2599d4fa4e1bbc9423cda5 (diff)
downloadhaskell-wip/haddock-fixes.tar.gz
base: Various haddock fixeswip/haddock-fixes
Just a few things I found while looking at #17383.
Diffstat (limited to 'libraries/base/GHC')
-rw-r--r--libraries/base/GHC/Real.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/GHC/Real.hs b/libraries/base/GHC/Real.hs
index 8a47720fe1..10d8a54504 100644
--- a/libraries/base/GHC/Real.hs
+++ b/libraries/base/GHC/Real.hs
@@ -134,7 +134,7 @@ class (Num a, Ord a) => Real a where
--
-- The Haskell Report defines no laws for 'Integral'. However, 'Integral'
-- instances are customarily expected to define a Euclidean domain and have the
--- following properties for the `div`\/`mod` and `quot`\/`rem` pairs, given
+-- following properties for the 'div'\/'mod' and 'quot'\/'rem' pairs, given
-- suitable Euclidean functions @f@ and @g@:
--
-- * @x@ = @y * quot x y + rem x y@ with @rem x y@ = @fromInteger 0@ or
@@ -142,7 +142,7 @@ class (Num a, Ord a) => Real a where
-- * @x@ = @y * div x y + mod x y@ with @mod x y@ = @fromInteger 0@ or
-- @f (mod x y)@ < @f y@
--
--- An example of a suitable Euclidean function, for `Integer`'s instance, is
+-- An example of a suitable Euclidean function, for 'Integer'\'s instance, is
-- 'abs'.
class (Real a, Enum a) => Integral a where
-- | integer division truncated toward zero