Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
1320fd2e
Commit
1320fd2e
authored
Sep 19, 2013
by
Herbert Valerio Riedel
🕺
Browse files
Add release note entry for `{-# MINIMAL #-}` (#7633)
parent
da11bb13
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/users_guide/7.8.1-notes.xml
View file @
1320fd2e
...
...
@@ -203,6 +203,16 @@
</para>
</listitem>
<listitem>
<para>
GHC now has support for a new pragma,
<literal>
{-# MINIMAL #-}
</literal>
, allowing you to
explicitly declare the minimal complete definition of
a class. Should an instance not provide the minimal
required definitions, a warning will be emitted.
</para>
</listitem>
<listitem>
<para>
GHC now generates warnings when definitions conflict with the
...
...
@@ -310,7 +320,21 @@
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
The new pragma,
<literal>
{-# MINIMAL #-}
</literal>
,
allows to explicitly declare the minimal complete
definition of a class. Should an instance not provide
the minimal required definitions, a warning will be
emitted.
</para>
<para>
See
<xref
linkend=
"minimal-pragma"
/>
for more details.
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3>
...
...
@@ -573,6 +597,14 @@
These changes were contributed by Bart Massey.
</para>
</listitem>
<listitem>
<para>
The minimal complete definitions for all
type-classes with cyclic default implementations
have been explicitly annotated with the new
<literal>
{-# MINIMAL #-}
</literal>
pragma.
</para>
</listitem>
</itemizedlist>
</sect3>
...
...
@@ -672,6 +704,14 @@
Version number XXXX (was XXXX)
</para>
</listitem>
<listitem>
<para>
The type-classes
<literal>
Eq
</literal>
and
<literal>
Ord
</literal>
have been annotated with
the new
<literal>
{-# MINIMAL #-}
</literal>
pragma.
</para>
</listitem>
</itemizedlist>
</sect3>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment