[commit: ghc] master: Fix docs typo in Bitraversable composition law (7e1690d)
git at git.haskell.org
git at git.haskell.org
Tue Oct 30 21:29:56 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/7e1690d17b39a9491e46b12297adad8d0c89b550/ghc
>---------------------------------------------------------------
commit 7e1690d17b39a9491e46b12297adad8d0c89b550
Author: Mark Seemann <mark at ploeh.dk>
Date: Tue Oct 30 10:02:42 2018 +0100
Fix docs typo in Bitraversable composition law
(cherry picked from commit 7c2bcc00e22ca8cebd9ffb2ee1741a86a5c4ebb9)
>---------------------------------------------------------------
7e1690d17b39a9491e46b12297adad8d0c89b550
libraries/base/Data/Bitraversable.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libraries/base/Data/Bitraversable.hs b/libraries/base/Data/Bitraversable.hs
index 4064929..cf1272a 100644
--- a/libraries/base/Data/Bitraversable.hs
+++ b/libraries/base/Data/Bitraversable.hs
@@ -55,7 +55,7 @@ import GHC.Generics (K1(..))
-- @'Data.Functor.Compose.Compose' .
-- 'fmap' ('bitraverse' g1 g2) .
-- 'bitraverse' f1 f2
--- ≡ 'traverse' ('Data.Functor.Compose.Compose' . 'fmap' g1 . f1)
+-- ≡ 'bitraverse' ('Data.Functor.Compose.Compose' . 'fmap' g1 . f1)
-- ('Data.Functor.Compose.Compose' . 'fmap' g2 . f2)@
--
-- where an /applicative transformation/ is a function
More information about the ghc-commits
mailing list