Skip to content

Commit

Permalink
Update src/libexpr/primops.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
phip1611 authored Nov 7, 2023
1 parent 22e0889 commit 3307c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libexpr/primops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3183,7 +3183,7 @@ static RegisterPrimOp primop_foldlStrict({
...`. For example, `foldl' (x: y: x + y) 0 [1 2 3]` evaluates to 6.
The return value of each application of `op` is evaluated immediately,
even for intermediate values. The first argument of the operation
(`x` in the example above) is the accumulator wheres the second one
(`x` in the example above) is the accumulator whereas the second one
(`y`) is the next element.
)",
.fun = prim_foldlStrict,
Expand Down

0 comments on commit 3307c0b

Please sign in to comment.