diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-02T15·52+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-02T15·52+0000 |
commit | ac19b333b38b2ac4b633bc1203e59c153bbb5c91 (patch) | |
tree | ec5a7ca923c36a30babd391c661e16241057b32e /tests/lang/eval-okay-new-let.nix | |
parent | 7581cfdee4001cba719d4d72f8f17f1b4c04ed51 (diff) |
* Finally, a real "let" syntax: `let x = ...; ... z = ...; in ...'.
Diffstat (limited to 'tests/lang/eval-okay-new-let.nix')
-rw-r--r-- | tests/lang/eval-okay-new-let.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-new-let.nix b/tests/lang/eval-okay-new-let.nix new file mode 100644 index 000000000000..738123141508 --- /dev/null +++ b/tests/lang/eval-okay-new-let.nix @@ -0,0 +1,14 @@ +let + + f = z: + + let + x = "foo"; + y = "bar"; + body = 1; # compat test + in + z + x + y; + + arg = "xyzzy"; + +in f arg |