Skip to content

Commit

Permalink
Merge 8.7 - coroutine doc duplicate text
Browse files Browse the repository at this point in the history
  • Loading branch information
apnadkarni committed Sep 22, 2024
2 parents 475d049 + 4d6cf6b commit b1f42b4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions doc/coroutine.n
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ with quite a bit of similarity to \fBcoroprobe\fR. However, with
.VS "8.7, TIP383"
The coroutine is not immediately resumed after the injection has been done. A
consequence of this is that multiple injections may be done before the
coroutine is resumed. There injected commands are performed in \fIreverse
coroutine is resumed. The injected commands are performed in \fIreverse
order of definition\fR (that is, they are internally stored on a stack).
.VE "8.7, TIP383"
.IP \(bu
Expand Down Expand Up @@ -245,10 +245,6 @@ puts [\fBcoroprobe \fIcollect\fR set accumulator]
puts [\fIcollect\fR]
# ==> 123 {abc def} 456 pqr RST xyz
.CE
.PP
This example shows a simple coroutine that collects non-empty values and
returns a list of them when not given an argument. It also shows how we can
look inside the coroutine to find out what it is doing.
.VE "8.7, TIP383"
.SS "DETAILED SEMANTICS"
.PP
Expand Down

0 comments on commit b1f42b4

Please sign in to comment.