about summary refs log tree commit diff
path: root/tests/lang/lib.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-08-02T16·03+0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-08-02T16·03+0000
commit47701677e88230abf7d9106c55f46aa660643ce7 (patch)
treea63fb4fde15c85de24b3d04a3346cd72c6e009ca /tests/lang/lib.nix
parent5d147e125cea69e9a3b12f0ef64c64f42985c65e (diff)
Add integer ‘-’, ‘*’ and ‘/’ operators
Diffstat (limited to 'tests/lang/lib.nix')
-rw-r--r--tests/lang/lib.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lang/lib.nix b/tests/lang/lib.nix
index 551b67aed350..cdba2b947793 100644
--- a/tests/lang/lib.nix
+++ b/tests/lang/lib.nix
@@ -49,4 +49,8 @@ rec {
     if comp (head list2) (head list1) then [(head list2)] ++ mergeLists comp list1 (tail list2) else
     [(head list1)] ++ mergeLists comp (tail list1) list2;
 
+  id = x: x;
+
+  const = x: y: x;
+
 }