From: simonpj@microsoft.com Date: Fri, 14 Jul 2006 14:32:20 +0000 (+0000) Subject: Add a clarification about overlapping instances in the manual X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=3eeeb57d95c6a218ce457f85e1f5b3511057101f Add a clarification about overlapping instances in the manual --- diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml index 3801f96..6b41b39 100644 --- a/docs/users_guide/glasgow_exts.xml +++ b/docs/users_guide/glasgow_exts.xml @@ -2107,7 +2107,9 @@ can be modified by two flags: and -fallow-incoherent-instances -, as this section discusses. +, as this section discusses. Both these +flags are dynamic flags, and can be set on a per-module basis, using +an OPTIONS_GHC pragma if desired (). When GHC tries to resolve, say, the constraint C Int Bool, it tries to match every instance declaration against the