[commit: ghc] wip/T9968: Minor change to the user's guide (636feee)
git at git.haskell.org
git at git.haskell.org
Fri Feb 20 09:18:30 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T9968
Link : http://ghc.haskell.org/trac/ghc/changeset/636feee8804103068046ce1e392530a2029ee23f/ghc
>---------------------------------------------------------------
commit 636feee8804103068046ce1e392530a2029ee23f
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
>---------------------------------------------------------------
636feee8804103068046ce1e392530a2029ee23f
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