Merge pull request #9444 from phip1611/foldl-doc

doc: primops: fix typo
This commit is contained in:
Robert Hensing 2023-11-24 13:36:18 +01:00 committed by GitHub
commit 8a52325d7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3185,7 +3185,7 @@ static RegisterPrimOp primop_foldlStrict({
to `6` and `foldl' (acc: elem: { "${elem}" = elem; } // acc) {}
["a" "b"]` evaluates to `{ a = "a"; b = "b"; }`.
The first argument of `op` is the accumulator wheres the second
The first argument of `op` is the accumulator whereas the second
argument is the current element being processed. The return value
of each application of `op` is evaluated immediately, even for
intermediate values.