diff options
| author | Graydon Hoare <[email protected]> | 2010-07-01 09:37:06 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-01 09:37:06 -0700 |
| commit | 8bf6ae99f4874bcc8ae97b6173528e5fad649838 (patch) | |
| tree | 8188984a0b6a220fb49569abb78f1fade2d1a777 /doc/rust.texi | |
| parent | Union is a more familiar term than sum. (diff) | |
| download | rust-8bf6ae99f4874bcc8ae97b6173528e5fad649838.tar.xz rust-8bf6ae99f4874bcc8ae97b6173528e5fad649838.zip | |
I lied; ObjC 2.0 did not actually pick up CLU/Sather iterators. They've been dormant since the 90s. Sigh.
Diffstat (limited to 'doc/rust.texi')
| -rw-r--r-- | doc/rust.texi | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/rust.texi b/doc/rust.texi index 3796f757..71bca1a9 100644 --- a/doc/rust.texi +++ b/doc/rust.texi @@ -2811,14 +2811,14 @@ current iterator, suspends execution of the current iterator, and transfers control to the current put-recipient frame. A @code{put} statement is only valid within an iterator. @footnote{A -@code{put} statement is analogous to a @code{yield} statement in the CLU, -Sather and Objective C 2.0 languages, or in more recent languages providing a -``generator'' facility, such as Python, Javascript or C#. Like the generators -of CLU, Sather and Objective C 2.0, but @emph{unlike} these later languages, -Rust's iterators reside on the stack and obey a strict stack discipline.} The -current put-recipient will eventually resume the suspended iterator containing -the @code{put} statement, either continuing execution after the @code{put} -statement, or terminating its execution and destroying the iterator frame. +@code{put} statement is analogous to a @code{yield} statement in the CLU, and +Sather languages, or in more recent languages providing a ``generator'' +facility, such as Python, Javascript or C#. Like the generators of CLU and +Sather but @emph{unlike} these later languages, Rust's iterators reside on the +stack and obey a strict stack discipline.} The current put-recipient will +eventually resume the suspended iterator containing the @code{put} statement, +either continuing execution after the @code{put} statement, or terminating its +execution and destroying the iterator frame. @page |