Commit 94ab5d29 authored by Arash Rouhani's avatar Arash Rouhani Committed by Gabor Greif
Browse files

Fix user guide documentation about unboxed values


Signed-off-by: default avatarArash Rouhani <rarash@student.chalmers.se>
parent 1c0a8e03
......@@ -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..
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment