about summary refs log blame commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-foldlStrict.nix
blob: 44c0349387ff4461b45d2bd399126ae6ec9b1c25 (plain) (tree)
1
2
3
4
5




                                                               
[
  (builtins.foldl' builtins.add 0 [1 2 3])
  (builtins.foldl' (l1: l2: l1 ++ l2) [0] [[1] [2 3]])
  (builtins.foldl' (x: y: if x == 0 then y else x * y) 0 [1 2])
]