Eta-expand newtype coercions in External Core
[ghc-hetmet.git] / docs / users_guide / glasgow_exts.xml
index f22e6c9..87e2e0d 100644 (file)
@@ -6309,7 +6309,7 @@ exactly what you asked for, no more and no less.
              there was no pragma).
             </para></listitem>
            <listitem>
-           <para>"<literal>INLINE[~k] f</literal>" means: be willing to inline
+           <para>"<literal>NOINLINE[~k] f</literal>" means: be willing to inline
            <literal>f</literal>
              until phase <literal>k</literal>, but from phase
              <literal>k</literal> onwards do not inline it.
@@ -6585,7 +6585,7 @@ data S = S {-# UNPACK #-} !Int {-# UNPACK #-} !Int
 The programmer can specify rewrite rules as part of the source program
 (in a pragma).  GHC applies these rewrite rules wherever it can, provided (a) 
 the <option>-O</option> flag (<xref linkend="options-optimise"/>) is on, 
-and (b) the <option>-frules-off</option> flag
+and (b) the <option>-fno-rewrite-rules</option> flag
 (<xref linkend="options-f"/>) is not specified, and (c) the
 <option>-fglasgow-exts</option> (<xref linkend="options-language"/>)
 flag is active.