Merge pull request #5624 from rofrol/typo-single-quote
Typo: change to normal single quote
This commit is contained in:
commit
b367f1061c
|
@ -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