Update base.rkt

main
Matthew Butterick 8 years ago committed by GitHub
parent fee9c8fd4d
commit a77737e1e6

@ -60,7 +60,7 @@
[(output-port? port) port]
[(not port) (open-output-bytes)]
[else (raise-argument-error 'Xenomorph "output port or #f" port)]))
(define encode-result (inner (void) encode port val parent))
(define encode-result (inner (void) encode op val parent))
(when (bytes? encode-result)
(write-bytes encode-result op))
(when (not port) (get-output-bytes op)))

Loading…
Cancel
Save