From: simonpj Date: Wed, 2 Mar 2005 18:15:36 +0000 (+0000) Subject: [project @ 2005-03-02 18:15:36 by simonpj] X-Git-Tag: Initial_conversion_from_CVS_complete~987 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=8e14697c6e2cccc0a632233ffe95505765db2eef;hp=877e29449aff260a2cd1fedd45aa177363b11e53 [project @ 2005-03-02 18:15:36 by simonpj] Clarification re overlapping instances; merge to stable --- diff --git a/ghc/docs/users_guide/glasgow_exts.xml b/ghc/docs/users_guide/glasgow_exts.xml index b986247..a25d42e 100644 --- a/ghc/docs/users_guide/glasgow_exts.xml +++ b/ghc/docs/users_guide/glasgow_exts.xml @@ -1731,7 +1731,7 @@ means Instance declarations - + Overlapping instances In general, GHC requires that that it be unambiguous which instance @@ -1787,6 +1787,11 @@ So GHC rejects the program. If you add the flag + +Because overlaps are checked and reported lazily, as described above, you need +the in the module that calls +the overloaded function, rather than in the module that defines it. +