Document the extra instances divergence from H98/H2010
authorIan Lynagh <igloo@earth.li>
Sat, 14 Jan 2012 14:01:20 +0000 (14:01 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 14 Jan 2012 14:01:20 +0000 (14:01 +0000)
Now that they've moved from Control.Monad.Instances

docs/users_guide/bugs.xml

index d52391c..c2abe45 100644 (file)
@@ -226,6 +226,22 @@ main = do args &lt;- 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&mdash;not checked:</term>
          <listitem>
            <para>This code fragment should