[commit: base] master: fix #7479: ArrowChoice unit law in doc comment (96889dd)

Ross Paterson ross at soi.city.ac.uk
Tue Dec 4 20:33:19 CET 2012


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/96889ddccdcfc1fb852eeb3fdce7d4124f52376d

>---------------------------------------------------------------

commit 96889ddccdcfc1fb852eeb3fdce7d4124f52376d
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