about summary refs log tree commit diff
path: root/third_party/nix/src/tests/lang/eval-okay-elem.nix
blob: 71ea7a4ed03dc9ae25bafb50d2153d78da20c21c (plain) (blame)
1
2
3
4
5
6
with import ./lib.nix;

let xs = range 10 40; in

[ (builtins.elem 23 xs) (builtins.elem 42 xs) (builtins.elemAt xs 20) ]