Typo: change to normal singlequote
This commit is contained in:
parent
9cd8cffefc
commit
0768c08d99
1 changed files with 2 additions and 2 deletions
|
@ -2710,9 +2710,9 @@ static RegisterPrimOp primop_foldlStrict({
|
||||||
.args = {"op", "nul", "list"},
|
.args = {"op", "nul", "list"},
|
||||||
.doc = R"(
|
.doc = R"(
|
||||||
Reduce a list by applying a binary operator, from left to right,
|
Reduce a list by applying a binary operator, from left to right,
|
||||||
e.g. `foldl’ op nul [x0 x1 x2 ...] = op (op (op nul x0) x1) x2)
|
e.g. `foldl' op nul [x0 x1 x2 ...] = op (op (op nul x0) x1) x2)
|
||||||
...`. The operator is applied strictly, i.e., its arguments are
|
...`. The operator is applied strictly, i.e., its arguments are
|
||||||
evaluated first. For example, `foldl’ (x: y: x + y) 0 [1 2 3]`
|
evaluated first. For example, `foldl' (x: y: x + y) 0 [1 2 3]`
|
||||||
evaluates to 6.
|
evaluates to 6.
|
||||||
)",
|
)",
|
||||||
.fun = prim_foldlStrict,
|
.fun = prim_foldlStrict,
|
||||||
|
|
Loading…
Reference in a new issue