Skip to content

Commit

Permalink
Typo(?) in description of iterated scan
Browse files Browse the repository at this point in the history
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`).
  • Loading branch information
dmsjms authored May 12, 2024
1 parent 8057ac0 commit ade786f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 05-adverbs.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ last result of scan anyway.
**Description:** The length of `arrays` and the argument count of `n-ad` must
be the same.
- Do the following steps `x` times:
- Take the last `x` elements of `arrays`, call this `last`
- Take the last `n` elements of `arrays`, call this `last`
- Add the result of `f.last` to the end of `arrays`
- Return the first `x+1` elements of `arrays`.

Expand Down

0 comments on commit ade786f

Please sign in to comment.