[commit: ghc] master: Fix typo in User's Guide (f9b3ff4)

git at git.haskell.org git at git.haskell.org
Thu Nov 7 13:56:52 UTC 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/f9b3ff49fd0bf78930be7c0d07562e933c95cd9e/ghc

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

commit f9b3ff49fd0bf78930be7c0d07562e933c95cd9e
Author: Pedro Rodrigues <pedro at onimail.net>
Date:   Tue Nov 5 10:57:29 2013 +0000

    Fix typo in User's Guide
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


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

f9b3ff49fd0bf78930be7c0d07562e933c95cd9e
 docs/users_guide/glasgow_exts.xml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index 11f45f6..5c4b091 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -8675,7 +8675,7 @@ proc (x,y) ->
 which is translated to
 <screen>
 arr (\ (x,y) -> if f x y then Left x else Right y) >>>
-        (arr (\x -> x+1) >>> f) ||| (arr (\y -> y+2) >>> g)
+        (arr (\x -> x+1) >>> g) ||| (arr (\y -> y+2) >>> h)
 </screen>
 Since the translation uses <function>|||</function>,
 the arrow concerned must belong to the <literal>ArrowChoice</literal> class.



More information about the ghc-commits mailing list