mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
Test some more primops
This commit is contained in:
parent
3d0a9ec825
commit
5ad263c26b
9 changed files with 24 additions and 7 deletions
6
tests/lang/eval-okay-elem.nix
Normal file
6
tests/lang/eval-okay-elem.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
with import ./lib.nix;
|
||||
|
||||
let xs = range 10 40; in
|
||||
|
||||
[ (builtins.elem 23 xs) (builtins.elem 42 xs) (builtins.elemAt xs 20) ]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue