Add a clarification about overlapping instances in the manual
authorsimonpj@microsoft.com <unknown>
Fri, 14 Jul 2006 14:32:20 +0000 (14:32 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 14 Jul 2006 14:32:20 +0000 (14:32 +0000)
docs/users_guide/glasgow_exts.xml

index 3801f96..6b41b39 100644 (file)
@@ -2107,7 +2107,9 @@ can be modified by two flags: <option>-fallow-overlapping-instances</option>
 </primary></indexterm> 
 and <option>-fallow-incoherent-instances</option>
 <indexterm><primary>-fallow-incoherent-instances
-</primary></indexterm>, as this section discusses.</para>
+</primary></indexterm>, as this section discusses.  Both these
+flags are dynamic flags, and can be set on a per-module basis, using 
+an <literal>OPTIONS_GHC</literal> pragma if desired (<xref linkend="source-file-options"/>).</para>
 <para>
 When GHC tries to resolve, say, the constraint <literal>C Int Bool</literal>,
 it tries to match every instance declaration against the