home: hub: zuo

Download patch

ref: dcde608b20cf0d71e34300e21cbeeb0509f391a3
parent: 18778d759e7af1d9c4b6ce7649a3aa4a49a2aa7f
author: Matthew Flatt <mflatt@racket-lang.org>
date: Sat Aug 13 01:52:50 CDT 2022

Zuo docs: repair `fd-read` description

Closes #2

--- a/zuo-doc/lang-zuo.scrbl
+++ b/zuo-doc/lang-zuo.scrbl
@@ -985,8 +985,8 @@
 that many bytes, @racket[eof] to read all content up to an
 end-of-file, or @racket['avail] where supported (on Unix) to read as
 many bytes as available in non-blocking mode. The result is
-@racket[eof] if @racket[amount] is not @racket[0] or @racket['avail]
-and no bytes are available before an end-of-file; otherwise, it is a
+@racket[eof] if @racket[amount] is not @racket[0], @racket[eof], or @racket['avail]
+and if no bytes are available before an end-of-file; otherwise, it is a
 string containing the read bytes.
 
 The number of bytes in the returned string can be less than