guix/tests/lang/eval-okay-elem.nix
2014-02-26 19:08:44 +01:00

6 lines
123 B
Nix

with import ./lib.nix;
let xs = range 10 40; in
[ (builtins.elem 23 xs) (builtins.elem 42 xs) (builtins.elemAt xs 20) ]