Whitespace only in docs/index.html
[ghc-hetmet.git] / docs / users_guide / glasgow_exts.xml
index e19f5d0..2169bba 100644 (file)
@@ -87,7 +87,7 @@ documentation</ulink> describes all the libraries that come with GHC.
           <option>-XGeneralizedNewtypeDeriving</option>,
           <option>-XTypeFamilies</option>.
            Enabling these options is the <emphasis>only</emphasis> 
-           effect of <options>-fglasgow-exts</options>.
+           effect of <option>-fglasgow-exts</option>.
           We are trying to move away from this portmanteau flag, 
          and towards enabling features individually.</para>
 
@@ -1176,8 +1176,9 @@ fromInteger :: Integer -> Bool -> Bool
 <title>Postfix operators</title>
 
 <para>
-GHC allows a small extension to the syntax of left operator sections, which
-allows you to define postfix operators.  The extension is this:  the left section
+  The <option>-XPostfixOperators</option> flag enables a small
+extension to the syntax of left operator sections, which allows you to
+define postfix operators.  The extension is this: the left section
 <programlisting>
   (e !)
 </programlisting>
@@ -1194,10 +1195,6 @@ That is, the operator must be a function of two arguments.  GHC allows it to
 take only one argument, and that in turn allows you to write the function
 postfix.
 </para>
-<para>Since this extension goes beyond Haskell 98, it should really be enabled
-by a flag; but in fact it is enabled all the time.  (No Haskell 98 programs
-change their behaviour, of course.)
-</para>
 <para>The extension does not extend to the left-hand side of function
 definitions; you must define such a function in prefix form.</para>