mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
doc: primops: fix typo
This commit is contained in:
parent
2ce8c9650b
commit
5be0e6b314
1 changed files with 1 additions and 1 deletions
|
@ -3185,7 +3185,7 @@ static RegisterPrimOp primop_foldlStrict({
|
||||||
to `6` and `foldl' (acc: elem: { "${elem}" = elem; } // acc) {}
|
to `6` and `foldl' (acc: elem: { "${elem}" = elem; } // acc) {}
|
||||||
["a" "b"]` evaluates to `{ a = "a"; b = "b"; }`.
|
["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
|
argument is the current element being processed. The return value
|
||||||
of each application of `op` is evaluated immediately, even for
|
of each application of `op` is evaluated immediately, even for
|
||||||
intermediate values.
|
intermediate values.
|
||||||
|
|
Loading…
Reference in a new issue