summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2011-10-24 15:40:07 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2011-10-24 15:40:07 +0100
commitb9b5f4c5cf847016c197670ecec18b81b00e73b9 (patch)
tree8d811a4a81c8205d7a9fda8b7defc7a162425d1f
parentc64926f3f9c7e8b6abc67b35b548143107f51958 (diff)
downloadhaskell-b9b5f4c5cf847016c197670ecec18b81b00e73b9.tar.gz
Associated type defaults work only for type *synonym* defaults
-rw-r--r--docs/users_guide/glasgow_exts.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index e5b866f069..9c5dc863fb 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -4916,6 +4916,7 @@ class IsBoolMap v where
instance IsBoolMap [(Int, Bool)] where
lookupKey = lookup
</programlisting>
+A default declaration is not permitted for an associated <emphasis>data</emphasis> type.
</para>
</sect3>