nix/tests/functional/lang/eval-okay-concatmap.nix

6 lines
155 B
Nix
Raw Permalink Normal View History

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"])
]