From 1e8bda724d8e00e5143795595e4bc29946ea2265 Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Mon, 10 Nov 2008 04:02:44 +0000 Subject: [PATCH] fix result of write-{string,bytes} svn: r12370 --- collects/scribblings/reference/string-output.scrbl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collects/scribblings/reference/string-output.scrbl b/collects/scribblings/reference/string-output.scrbl index 93eee78feb..4cf4c7e2a8 100644 --- a/collects/scribblings/reference/string-output.scrbl +++ b/collects/scribblings/reference/string-output.scrbl @@ -24,7 +24,7 @@ The same as @scheme[(write-char #\newline out)].} [out output-port? (current-output-port)] [start-pos exact-nonnegative-integer? 0] [end-pos exact-nonnegative-integer? (string-length str)]) - void?]{ + exact-nonnegative-integer?]{ Writes characters to @scheme[out] from @scheme[str] starting from index @scheme[start-pos] (inclusive) up to @scheme[end-pos] @@ -39,7 +39,7 @@ is always @scheme[(- end-pos start-pos)].} [out output-port? (current-output-port)] [start-pos exact-nonnegative-integer? 0] [end-pos exact-nonnegative-integer? (bytes-length bstr)]) - void?]{ + exact-nonnegative-integer?]{ Like @scheme[write-string], but writes bytes instead of characters.}