Fix comment/code inconsistency spotted by Bulat Ziganshin
authorIan Lynagh <igloo@earth.li>
Mon, 25 Sep 2006 19:59:25 +0000 (19:59 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 25 Sep 2006 19:59:25 +0000 (19:59 +0000)
I'm not sure if this is the example that was intended, but it's at least
now consistent.

docs/users_guide/glasgow_exts.xml

index afb4447..f8ea3c7 100644 (file)
@@ -3360,7 +3360,7 @@ signature</emphasis>.
 For example:
 <programlisting>
   -- f and g assume that 'a' is already in scope
-  f = \(x::Int, y) -> x
+  f = \(x::Int, y::a) -> x
   g (x::a) = x
   h ((x,y) :: (Int,Bool)) = (y,x)
 </programlisting>