Undocument obsolete form of "let"
This commit is contained in:
parent
fba17a9043
commit
36e67ff16b
1 changed files with 2 additions and 8 deletions
|
@ -902,8 +902,8 @@ encountered</quote>).</para></footnote>.</para>
|
||||||
|
|
||||||
<simplesect><title>Let-expressions</title>
|
<simplesect><title>Let-expressions</title>
|
||||||
|
|
||||||
<para>A let-expression allows you define local
|
<para>A let-expression allows you define local variables for an
|
||||||
variables for an expression. For instance,
|
expression. For instance,
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
let
|
let
|
||||||
|
@ -915,12 +915,6 @@ evaluates to <literal>"foobar"</literal>.
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<note><para>There is also an obsolete form of let-expression,
|
|
||||||
<literal>let { <replaceable>attrs</replaceable> }</literal>, which is
|
|
||||||
translated to <literal>rec { <replaceable>attrs</replaceable>
|
|
||||||
}.body</literal>. That is, the body of the let-expression is the
|
|
||||||
<literal>body</literal> attribute of the set.</para></note>
|
|
||||||
|
|
||||||
</simplesect>
|
</simplesect>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue