about summary refs log blame commit diff
path: root/tvix/eval/src/tests/nix_tests/eval-okay-concatmap.nix
blob: 97da5d37a4129ab932804dfba44dfc6bf5bf7c3d (plain) (tree)
1
2
3
4
5




                                                                             
with import ./lib.nix;

[ (builtins.concatMap (x: if x / 2 * 2 == x then [] else [ x ]) (range 0 10))
  (builtins.concatMap (x: [x] ++ ["z"]) ["a" "b"])
]