[commit: base] ghc-7.6: fix #7479: ArrowChoice unit law in doc comment (56c8295)

Ian Lynagh <[email protected]> Thu, 06 Dec 2012 17:20:35 -0800
Newsgroups gmane.comp.lang.haskell.cvs.libraries
Message-ID <[email protected]>
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 <[email protected]>
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@
 --