2006-08-17 13:28:29 +02:00
|
|
|
rec {
|
|
|
|
|
|
|
|
x = 123;
|
|
|
|
|
|
|
|
a = "foo";
|
|
|
|
|
|
|
|
b = "bar";
|
|
|
|
|
|
|
|
c = "foo" + "bar";
|
|
|
|
|
2008-08-11 15:36:40 +02:00
|
|
|
f = {z, x, y}: if y then x else z;
|
2006-08-17 13:28:29 +02:00
|
|
|
|
2008-08-14 12:04:22 +02:00
|
|
|
id = x: x;
|
|
|
|
|
2008-08-14 14:53:29 +02:00
|
|
|
at = args@{x, y, z}: x;
|
|
|
|
|
2008-08-14 16:00:44 +02:00
|
|
|
ellipsis = {x, y, z, ...}: x;
|
|
|
|
|
2008-08-14 12:04:22 +02:00
|
|
|
}
|