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 <>
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:
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..
Supports Markdown
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