aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-11-22 21:33:21 +0100
committerGitHub <noreply@github.com>2021-11-22 21:33:21 +0100
commitb367f1061c34f8f358ebf1f02c7bdbb7be6df645 (patch)
tree2e4a71cbcbb1e9b8d8b33ec76d7153ce95253c84 /src/libexpr/primops.cc
parentf3ef2263bbc536016e228bfe00f706d71b7a2ffd (diff)
parent0768c08d999593fc23675b17c6f0480a35206c47 (diff)
Merge pull request #5624 from rofrol/typo-single-quote
Typo: change to normal single quote
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r--src/libexpr/primops.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 8dccf6401..24b931882 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -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,