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

builtins.partition
  (x: x / 2 * 2 == x)
  (builtins.concatLists [ (range 0 10) (range 100 110) ])