mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 23:02:27 +00:00
22 lines
199 B
Nix
22 lines
199 B
Nix
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;
|
|
|
|
}
|