Matthew Butterick 6 years ago
parent 6e7b8529f4
commit 9401659ae4

@ -70,19 +70,6 @@
(define (symbol-append . syms)
(string->symbol (apply string-append (map symbol->string syms))))
;;;;;;;;;;;;;;;;;;;;;;;;; structing
(define (->input-port arg)
(cond
[(bytes? arg) (open-input-bytes arg)]
[(input-port? arg) arg]
[else (raise-argument-error '->port "byte string or input port" arg)]))
(define (reverse-bytes bstr) (apply bytes (reverse (bytes->list bstr))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;
(define xenomorph-base%
(class* object% (codable<%> sizable<%>)
(super-new)

Loading…
Cancel
Save