diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-24T20·06+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-24T20·06+0200 |
commit | 36e67ff16bc6a4cb96466f58616a95a25250274d (patch) | |
tree | 7c8bf8b2f211fdbfd13295a265c5b28755f22f0b | |
parent | fba17a9043527aad89dbf53d3458ca14a86a421c (diff) |
Undocument obsolete form of "let"
-rw-r--r-- | doc/manual/writing-nix-expressions.xml | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/doc/manual/writing-nix-expressions.xml b/doc/manual/writing-nix-expressions.xml index 4154926268e0..4b6574288eb2 100644 --- a/doc/manual/writing-nix-expressions.xml +++ b/doc/manual/writing-nix-expressions.xml @@ -902,8 +902,8 @@ encountered</quote>).</para></footnote>.</para> <simplesect><title>Let-expressions</title> -<para>A let-expression allows you define local -variables for an expression. For instance, +<para>A let-expression allows you define local variables for an +expression. For instance, <programlisting> let @@ -915,12 +915,6 @@ evaluates to <literal>"foobar"</literal>. </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> |