about summary refs log blame commit diff
path: root/tests/lang/eval-okay-new-let.nix
blob: 738123141508983cf76c2e89ff8b68b06ac3a60c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14












                             
let

  f = z: 

    let
      x = "foo";
      y = "bar";
      body = 1; # compat test
    in
      z + x + y;

  arg = "xyzzy";

in f arg