[commit: ghc] master: Document the extra instances divergence from H98/H2010 (7bc456d)
Ian Lynagh
igloo at earth.li
Sat Jan 14 15:50:22 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/7bc456d776608051163aa08cee48e21599e129ae
>---------------------------------------------------------------
commit 7bc456d776608051163aa08cee48e21599e129ae
Author: Ian Lynagh <igloo at earth.li>
Date: Sat Jan 14 14:01:20 2012 +0000
Document the extra instances divergence from H98/H2010
Now that they've moved from Control.Monad.Instances
>---------------------------------------------------------------
docs/users_guide/bugs.xml | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/docs/users_guide/bugs.xml b/docs/users_guide/bugs.xml
index d52391c..c2abe45 100644
--- a/docs/users_guide/bugs.xml
+++ b/docs/users_guide/bugs.xml
@@ -226,6 +226,22 @@ main = do args <- getArgs
</varlistentry>
<varlistentry>
+ <term>Extra instances</term>
+ <listitem>
+ <para>
+ The following extra instances are defined:
+ </para>
+<programlisting>
+instance Functor ((->) r)
+instance Monad ((->) r)
+instance Functor ((,) a)
+instance Functor (Either a)
+instance Monad (Either e)
+</programlisting>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>Multiply-defined array elements—not checked:</term>
<listitem>
<para>This code fragment should
More information about the Cvs-ghc
mailing list