Fix typo
authorsimonpj@microsoft.com <unknown>
Mon, 5 Jun 2006 11:47:19 +0000 (11:47 +0000)
committersimonpj@microsoft.com <unknown>
Mon, 5 Jun 2006 11:47:19 +0000 (11:47 +0000)
docs/users_guide/glasgow_exts.xml

index e5b7154..f9cb3f7 100644 (file)
@@ -1010,8 +1010,8 @@ in a type synonym, thus:
   f :: Discard a
   f x y = (x, show y)
 
-  g :: Discard Int -> (Int,Bool)    -- A rank-2 type
-  g f = f Int True
+  g :: Discard Int -> (Int,String)    -- A rank-2 type
+  g f = f 3 True
 </programlisting>
 </para>
 </listitem>