[PATCH] Fix user guide documentation about unboxed values
Gabor Greif
ggreif at gmail.com
Tue Sep 24 21:05:56 UTC 2013
On 9/24/13, Arash Rouhani <rarash at student.chalmers.se> wrote:
>
> Signed-off-by: Arash Rouhani <rarash at student.chalmers.se>
> ---
> docs/users_guide/glasgow_exts.xml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Committed.
$ git show 94ab5d2984514f92dd919fbf3611a07d32105546
Thanks, Arash!
Cheers,
Gabor
>
> diff --git a/docs/users_guide/glasgow_exts.xml
> b/docs/users_guide/glasgow_exts.xml
> index a8057a6..43fa155 100644
> --- a/docs/users_guide/glasgow_exts.xml
> +++ b/docs/users_guide/glasgow_exts.xml
> @@ -272,7 +272,7 @@ If the types of <literal>p</literal> and
> <literal>q</literal> are not unboxed,
> the resulting binding is lazy like any other Haskell pattern binding. The
> above example desugars like this:
> <programlisting>
> - f x = let t = case h x o f{ (# p,q #) -> (p,q)
> + f x = let t = case h x of { (# p,q #) -> (p,q) }
> p = fst t
> q = snd t
> in ..body..
> --
> 1.8.1.2
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
More information about the ghc-devs
mailing list