Doc typo
authorIan Lynagh <igloo@earth.li>
Tue, 27 Feb 2007 12:57:31 +0000 (12:57 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 27 Feb 2007 12:57:31 +0000 (12:57 +0000)
docs/users_guide/glasgow_exts.xml

index a8c91df..4475af4 100644 (file)
@@ -1330,7 +1330,7 @@ data Counter a = forall self. NewCounter
 Here <literal>tag</literal> is a public field, with a well-typed selector
 function <literal>tag :: Counter a -> a</literal>.  The <literal>self</literal>
 type is hidden from the outside; any attempt to apply <literal>_this</literal>,
-<literal>_inc</literal> or <literal>_output</literal> as functions will raise a
+<literal>_inc</literal> or <literal>_display</literal> as functions will raise a
 compile-time error.  In other words, <emphasis>GHC defines a record selector function
 only for fields whose type does not mention the existentially-quantified variables</emphasis>.
 (This example used an underscore in the fields for which record selectors