about summary refs log tree commit diff
path: root/third_party/nix/tests/lang/eval-okay-concatmap.nix
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"])
]