Added types for byte-string I/O functions.
This commit is contained in:
parent
3dbbd6d3fc
commit
8c840a2282
|
@ -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)]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user