aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-okay-xml.nix
blob: 9ee9f8a0b4f51114998595d2266b6dff13e2e308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
rec {

  x = 123;

  y = 567.890;

  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;

}