X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fglasgow_exts.xml;h=a25d42e89712e066a786d6f5cda416e9ea96dd2b;hp=b9862477ba022340af1a5c87e15d31536ae1b970;hb=8e14697c6e2cccc0a632233ffe95505765db2eef;hpb=877e29449aff260a2cd1fedd45aa177363b11e53 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. +