Remove unused old printer.
This commit is contained in:
parent
c9afe15f56
commit
124707921f
|
@ -370,22 +370,3 @@
|
||||||
|
|
||||||
(define (replace-syntax rep stx)
|
(define (replace-syntax rep stx)
|
||||||
(replace-field rep stx 3))
|
(replace-field rep stx 3))
|
||||||
|
|
||||||
;; useful for debugging printing only
|
|
||||||
(define (converter v basic sub)
|
|
||||||
(define (gen-constructor sym)
|
|
||||||
(string->symbol (string-append "make-" (substring (symbol->string sym) 7))))
|
|
||||||
(match v
|
|
||||||
[(? (lambda (e) (or (Filter? e)
|
|
||||||
(Object? e)
|
|
||||||
(PathElem? e)))
|
|
||||||
(app (lambda (v) (vector->list (struct->vector v)))
|
|
||||||
(list-rest tag seq fv fi stx vals)))
|
|
||||||
`(,(gen-constructor tag) ,@(map sub vals))]
|
|
||||||
[(? Type?
|
|
||||||
(app (lambda (v) (vector->list (struct->vector v))) (list-rest tag seq fv fi stx key vals)))
|
|
||||||
`(,(gen-constructor tag) ,@(map sub vals))]
|
|
||||||
[_ (basic v)]))
|
|
||||||
|
|
||||||
;(require mzlib/pconvert)
|
|
||||||
;(current-print-convert-hook converter)
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user