[commit: ghc] master: fix #5602: (<+>) example in User's Guide (da11a22)

Ross Paterson ross at soi.city.ac.uk
Fri Nov 4 16:48:22 CET 2011


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/da11a22547426f717cab676c6fc03cda42dbd6c5

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

commit da11a22547426f717cab676c6fc03cda42dbd6c5
Author: Ross Paterson <ross at soi.city.ac.uk>
Date:   Fri Nov 4 15:40:19 2011 +0000

    fix #5602: (<+>) example in User's Guide

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

 docs/users_guide/glasgow_exts.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index be5d85d..1ea87eb 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -7332,9 +7332,9 @@ The basic idea is that a command defines an arrow from environments to values.
 These environments assign values to the free local variables of the command.
 Thus combinators that produce arrows from arrows
 may also be used to build commands from commands.
-For example, the <literal>ArrowChoice</literal> class includes a combinator
+For example, the <literal>ArrowPlus</literal> class includes a combinator
 <programlisting>
-ArrowChoice a => (&lt;+>) :: a e c -> a e c -> a e c
+ArrowPlus a => (&lt;+>) :: a e c -> a e c -> a e c
 </programlisting>
 so we can use it to build commands:
 <programlisting>





More information about the Cvs-ghc mailing list