[PATCH] Fix typo in User's Guide

Carter Schonwald carter.schonwald at gmail.com
Tue Nov 5 18:56:23 UTC 2013


could you file a ticket on trac with the patch?


On Tue, Nov 5, 2013 at 6:27 AM, Pedro Rodrigues <pedro at onimail.net> wrote:

> ---
>  docs/users_guide/glasgow_exts.xml |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/docs/users_guide/glasgow_exts.xml
> b/docs/users_guide/glasgow_exts.xml
> index ce07806..d61ff7a 100644
> --- a/docs/users_guide/glasgow_exts.xml
> +++ b/docs/users_guide/glasgow_exts.xml
> @@ -8673,7 +8673,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.
> --
> 1.7.4.1
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20131105/ecb29ffd/attachment.html>


More information about the ghc-devs mailing list