Added types for byte-string I/O functions.

original commit: 8c840a22825bd6f2723e02a8ff56d76ffaa66367
This commit is contained in:
Vincent St-Amour 2010-07-15 16:32:41 -04:00
parent 33f4ea048d
commit 4d23f3416c

View File

@ -182,6 +182,7 @@
[gensym (->opt [Sym] Sym)]
[string-append (->* null -String -String)]
[open-input-string (-> -String -Input-Port)]
[open-input-bytes (-> -Bytes -Input-Port)]
[open-output-file
(->key -Pathlike
#:mode (one-of/c 'binary 'text) #f
@ -610,6 +611,7 @@
[byte-ready? (->opt [-Input-Port] B)]
[open-output-string (-> -Output-Port)]
[open-output-bytes (-> -Output-Port)]
;; FIXME - this is too general
[get-output-string (-> -Output-Port -String)]