let byte-vectors print as a list of numbers

This commit is contained in:
mainzelm 2000-09-01 07:13:05 +00:00
parent 0c7809d0bc
commit c231ab7c6b
1 changed files with 6 additions and 6 deletions

View File

@ -47,12 +47,12 @@
(or (template-print-name tem) (template-id tem))))) (or (template-print-name tem) (template-id tem)))))
(define-method &disclose ((obj :code-vector)) (define-method &disclose ((obj :code-vector))
(list 'byte-vector (code-vector-length obj)) ; (list 'byte-vector (code-vector-length obj))
; (cons 'code-vector (cons 'byte-vector
; (let ((z (code-vector-length obj))) (let ((z (code-vector-length obj)))
; (do ((i (- z 1) (- i 1)) (do ((i (- z 1) (- i 1))
; (l '() (cons (code-vector-ref obj i) l))) (l '() (cons (code-vector-ref obj i) l)))
; ((< i 0) l)))) ((< i 0) l))))
) )
(define-method &disclose ((obj :channel)) (define-method &disclose ((obj :channel))