13 lines
126 B
Nix
13 lines
126 B
Nix
{...}: {
|
|
id = x: x;
|
|
|
|
min = x: y:
|
|
if x < y
|
|
then x
|
|
else y;
|
|
|
|
max = x: y:
|
|
if x > y
|
|
then x
|
|
else y;
|
|
}
|