Nix Language Quirks: Difference between revisions

Old let syntax: add link to 2017 thread mentioning old syntax
Tags: Mobile edit Mobile web edit
Indented strings trim leading whitespace: Remove unnecessary sentence and clarify wording
Tags: Mobile edit Mobile web edit
Line 125: Line 125:
== Indented strings trim leading whitespace ==
== Indented strings trim leading whitespace ==


Not really surprising, but ...
Leading spaces are removed from both single-line and multi-line <strong>indented strings</strong>.
 
Leading spaces are removed also in single-line <strong>indented strings</strong>.


<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>