summaryrefslogtreecommitdiff
path: root/libraries/base/Data/Bifoldable.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/Data/Bifoldable.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/Data/Bifoldable.hs')
-rw-r--r--libraries/base/Data/Bifoldable.hs8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/base/Data/Bifoldable.hs b/libraries/base/Data/Bifoldable.hs
index 4315fdb259..918ddd236c 100644
--- a/libraries/base/Data/Bifoldable.hs
+++ b/libraries/base/Data/Bifoldable.hs
@@ -78,11 +78,15 @@ import GHC.Generics (K1(..))
--
-- If the type is also a 'Data.Bifunctor.Bifunctor' instance, it should satisfy:
--
--- > 'bifoldMap' f g ≡ 'bifold' . 'bimap' f g
+-- @
+-- 'bifoldMap' f g ≡ 'bifold' . 'Data.Bifunctor.bimap' f g
+-- @
--
-- which implies that
--
--- > 'bifoldMap' f g . 'bimap' h i ≡ 'bifoldMap' (f . h) (g . i)
+-- @
+-- 'bifoldMap' f g . 'Data.Bifunctor.bimap' h i ≡ 'bifoldMap' (f . h) (g . i)
+-- @
--
-- @since 4.10.0.0
class Bifoldable p where