docs: for/stream: mention multiple values (#3147)
* docs: for/stream: mention multiple values A minimal improvement to the for/stream docs mentioning it doesn't support multiple values per iteration. * docs: for/stream: mention stream/values package * docs: for/stream: remove mention of external packages * docs: for/stream: improve spelling, fix link to multiple values
This commit is contained in:
parent
ec93652cf9
commit
76d8a0ef44
|
@ -1193,6 +1193,8 @@ stream, but plain lists can be used as streams, and functions such as
|
|||
allows @racket[for/stream] and @racket[for*/stream] to iterate over infinite
|
||||
sequences, unlike their finite counterparts.
|
||||
|
||||
Please note that these forms do not support returning @tech{multiple values}.
|
||||
|
||||
@examples[#:eval sequence-evaluator
|
||||
(for/stream ([i '(1 2 3)]) (* i i))
|
||||
(stream->list (for/stream ([i '(1 2 3)]) (* i i)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user