Commit 94255551 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Document TraditionalRecordSyntax

parent 74206700
......@@ -745,6 +745,12 @@
<entry>dynamic</entry>
<entry><option>-XNPlusKPatterns</option></entry>
</row>
<row>
<entry><option>-XNoTraditionalRecordSyntax</option></entry>
<entry>Disable support for traditional record syntax (as supported by Haskell 98) <literal>C {f = x}</literal></entry>
<entry>dynamic</entry>
<entry><option>-XTraditionalRecordSyntax</option></entry>
</row>
<row>
<entry><option>-XNoMonoPatBinds</option></entry>
<entry>Make <link linkend="monomorphism">pattern bindings polymorphic</link></entry>
......
......@@ -829,6 +829,19 @@ y)</literal> will not be coalesced.
it, you can use the <option>-XNoNPlusKPatterns</option> flag.
</para>
</sect2>
<!-- ===================== Traditional record syntax =================== -->
<sect2 id="traditional-record-syntax">
<title>Traditional record syntax</title>
<indexterm><primary><option>-XNoTraditionalRecordSyntax</option></primary></indexterm>
<para>
Traditional record syntax, such as <literal>C {f = x}</literal>, is enabled by default.
To disable it, you can use the <option>-XNoTraditionalRecordSyntax</option> flag.
</para>
</sect2>
<!-- ===================== Recursive do-notation =================== -->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment