mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 06:26:15 +02:00
21 lines
199 B
Nix
21 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;
|
|
|
|
}
|