[commit: ghc] wip/T9968: Minor change to the user's guide (66c352b)

git at git.haskell.org git at git.haskell.org
Tue Feb 24 08:58:02 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T9968
Link       : http://ghc.haskell.org/trac/ghc/changeset/66c352b000222b9878417db9080295d3b3971d16/ghc

>---------------------------------------------------------------

commit 66c352b000222b9878417db9080295d3b3971d16
Author: Jose Pedro Magalhaes <jpm at cs.ox.ac.uk>
Date:   Fri Feb 20 08:50:54 2015 +0000

    Minor change to the user's guide


>---------------------------------------------------------------

66c352b000222b9878417db9080295d3b3971d16
 docs/users_guide/glasgow_exts.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index f38e0d7..0184b98 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -4321,7 +4321,7 @@ the standard method is used or the one described here.)
 <para>
 With <option>-XDeriveAnyClass</option> you can derive any other class. The
 compiler will simply generate an empty instance. The instance context will be
-generated according to the same rules used when deriving <literal>Eq</literal>.
+generated by looking at the signatures for the default methods of the class.
 This is mostly useful in classes whose <link linkend="minimal-pragma">minimal
 set</link> is empty, and especially when writing
 <link linkend="generic-programming">generic functions</link>.



More information about the ghc-commits mailing list