Skip to content
Snippets Groups Projects
Commit cdea1a8e authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add a release note about TypeSynonymInstances change of behaviour

As discussed in #5377
parent 535e8f50
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,27 @@
</para>
</listitem>
<listitem>
<para>
The <literal>TypeSynonymInstances</literal> extension now
correctly requires that instances are valid once the type
synonym is expanded. For example, in order to have
</para>
<programlisting>
instance SomeClass String where
...
</programlisting>
<para>
you need both <literal>TypeSynonymInstances</literal> and
<literal>FlexibleInstances</literal> enabled, as the latter
is necessary for
</para>
<programlisting>
instance SomeClass [Char] where
...
</programlisting>
</listitem>
<listitem>
<para>
The <literal>DatatypeContexts</literal> extension (which will
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment