summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArash Rouhani <rarash@student.chalmers.se>2013-09-24 22:06:18 +0200
committerGabor Greif <ggreif@gmail.com>2013-09-24 22:19:20 +0200
commit94ab5d2984514f92dd919fbf3611a07d32105546 (patch)
tree2f8075cc1e916d49fd82e7d74724be84c2daf59c
parent1c0a8e03afc443283cc3722944e299e978d4edbb (diff)
downloadhaskell-94ab5d2984514f92dd919fbf3611a07d32105546.tar.gz
Fix user guide documentation about unboxed values
Signed-off-by: Arash Rouhani <rarash@student.chalmers.se>
-rw-r--r--docs/users_guide/glasgow_exts.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index a8057a6475..43fa155e72 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..