about summary refs log tree commit diff
path: root/tests/lang/eval-okay-xml.nix
blob: 244b2c0fb401cd3ca702bc76b6ffe59295c24ed2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
rec {

  x = 123;

  a = "foo";

  b = "bar";

  c = "foo" + "bar";

  f = {z, x : ["a" "b" ("c" + "d")], y : [true false]}: if y then x else z;

}