diff options
Diffstat (limited to 'doc')
-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> |