[commit: base] ghc-7.6: fix #7479: ArrowChoice unit law in doc comment (56c8295)
Ian Lynagh
igloo at earth.li
Fri Dec 7 02:20:35 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : ghc-7.6
http://hackage.haskell.org/trac/ghc/changeset/56c8295c638a03676a9be8d34195e6be945ddc2c
>---------------------------------------------------------------
commit 56c8295c638a03676a9be8d34195e6be945ddc2c
Author: Ross Paterson <ross at soi.city.ac.uk>
Date: Tue Dec 4 19:32:40 2012 +0000
fix #7479: ArrowChoice unit law in doc comment
>---------------------------------------------------------------
Control/Arrow.hs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Control/Arrow.hs b/Control/Arrow.hs
index 73dfe3d..c971be5 100644
--- a/Control/Arrow.hs
+++ b/Control/Arrow.hs
@@ -192,7 +192,7 @@ instance MonadPlus m => ArrowPlus (Kleisli m) where
--
-- * @'left' (f >>> g) = 'left' f >>> 'left' g@
--
--- * @'left' f >>> 'arr' 'Left' = 'arr' 'Left' >>> f@
+-- * @f >>> 'arr' 'Left' = 'arr' 'Left' >>> 'left' f@
--
-- * @'left' f >>> 'arr' ('id' +++ g) = 'arr' ('id' +++ g) >>> 'left' f@
--
More information about the Cvs-libraries
mailing list