guix/tests/lang/eval-okay-xml.nix

20 lines
183 B
Nix
Raw Normal View History

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;
}