Merge pull request #5624 from rofrol/typo-single-quote

Typo: change to normal single quote
This commit is contained in:
Eelco Dolstra 2021-11-22 21:33:21 +01:00 committed by GitHub
commit b367f1061c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2710,9 +2710,9 @@ static RegisterPrimOp primop_foldlStrict({
.args = {"op", "nul", "list"},
.doc = R"(
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
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.
)",
.fun = prim_foldlStrict,