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