summary refs log tree commit diff
path: root/tests/lang/eval-okay-xml.nix
blob: b9389bfae75942ae59c61d68de923d61a2e32094 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
rec {

  x = 123;

  a = "foo";

  b = "bar";

  c = "foo" + "bar";

  f = {z, x, y}: if y then x else z;

  id = x: x;

  at = args@{x, y, z}: x;

  ellipsis = {x, y, z, ...}: x;

}