forked from lix-project/lix
Add test for foldl'
This commit is contained in:
parent
22a754c091
commit
d700eecea9
1
tests/lang/eval-okay-foldlStrict.exp
Normal file
1
tests/lang/eval-okay-foldlStrict.exp
Normal file
|
@ -0,0 +1 @@
|
|||
500500
|
3
tests/lang/eval-okay-foldlStrict.nix
Normal file
3
tests/lang/eval-okay-foldlStrict.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
with import ./lib.nix;
|
||||
|
||||
builtins.foldl' (x: y: x + y) 0 (range 1 1000)
|
Loading…
Reference in a new issue