io.streams-docs: fix some copy-paste errors

locals-and-roots
Alexander Iljin 2016-05-25 11:38:28 +03:00
parent 2fe26444aa
commit b8476d7081
1 changed files with 2 additions and 2 deletions

View File

@ -264,12 +264,12 @@ HELP: with-output-stream
HELP: with-streams HELP: with-streams
{ $values { "input" "an input stream" } { "output" "an output stream" } { "quot" quotation } } { $values { "input" "an input stream" } { "output" "an output stream" } { "quot" quotation } }
{ $description "Calls the quotation in a new dynamic scope, with " { $link input-stream } " rebound to " { $snippet "input" } " and " { $link output-stream } " rebound to " { $snippet "output" } ". The stream is closed if the quotation returns or throws an error." } ; { $description "Calls the quotation in a new dynamic scope, with " { $link input-stream } " rebound to " { $snippet "input" } " and " { $link output-stream } " rebound to " { $snippet "output" } ". The streams are closed if the quotation returns or throws an error." } ;
HELP: with-streams* HELP: with-streams*
{ $values { "input" "an input stream" } { "output" "an output stream" } { "quot" quotation } } { $values { "input" "an input stream" } { "output" "an output stream" } { "quot" quotation } }
{ $description "Calls the quotation in a new dynamic scope, with " { $link input-stream } " rebound to " { $snippet "input" } " and " { $link output-stream } " rebound to " { $snippet "output" } "." } { $description "Calls the quotation in a new dynamic scope, with " { $link input-stream } " rebound to " { $snippet "input" } " and " { $link output-stream } " rebound to " { $snippet "output" } "." }
{ $notes "This word does not close the stream. Compare with " { $link with-streams } "." } ; { $notes "This word does not close the streams. Compare with " { $link with-streams } "." } ;
{ with-input-stream with-input-stream* } related-words { with-input-stream with-input-stream* } related-words