about summary refs log tree commit diff
path: root/tests/lang/eval-okay-filter.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-26T18·08+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-26T18·08+0100
commit5ad263c26b5b9cc0ba067050e4a09b2491c9d40c (patch)
treea9251f24871514ace96343edd0059580c379fbf4 /tests/lang/eval-okay-filter.nix
parent3d0a9ec8258fc2a6ec6a73e249aa38fbd03207d8 (diff)
Test some more primops
Diffstat (limited to 'tests/lang/eval-okay-filter.nix')
-rw-r--r--tests/lang/eval-okay-filter.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-filter.nix b/tests/lang/eval-okay-filter.nix
new file mode 100644
index 0000000000..85109b0d0e
--- /dev/null
+++ b/tests/lang/eval-okay-filter.nix
@@ -0,0 +1,5 @@
+with import ./lib.nix;
+
+builtins.filter
+  (x: x / 2 * 2 == x)
+  (builtins.concatLists [ (range 0 10) (range 100 110) ])