Skip to content

Commit ade786f

Browse files
authored
Typo(?) in description of iterated scan
It seems to me that the n last elements of `arrays` are taken. Where n is the arity of the verb (and initial length of `arrays`).
1 parent 8057ac0 commit ade786f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

05-adverbs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ last result of scan anyway.
262262
**Description:** The length of `arrays` and the argument count of `n-ad` must
263263
be the same.
264264
- Do the following steps `x` times:
265-
- Take the last `x` elements of `arrays`, call this `last`
265+
- Take the last `n` elements of `arrays`, call this `last`
266266
- Add the result of `f.last` to the end of `arrays`
267267
- Return the first `x+1` elements of `arrays`.
268268

0 commit comments

Comments
 (0)