Types are not quotable.

This commit is contained in:
Sam Tobin-Hochstadt 2010-06-24 16:47:25 -04:00
parent 5b1118d514
commit 40ca16bc30

View File

@ -152,9 +152,10 @@ at least theoretically.
(syntax-parse stx (syntax-parse stx
[(form name (flds ...) printer:expr) [(form name (flds ...) printer:expr)
#`(define-struct name (flds ...) #`(define-struct name (flds ...)
#:property prop:custom-print-quotable 'never
#:property prop:custom-write #:property prop:custom-write
(lambda (a b c) (if (custom-printer) (printer a b c) (pseudo-printer a b c))) (lambda (a b c) (if (custom-printer) (printer a b c) (pseudo-printer a b c)))
#:inspector #f)])) #:transparent)]))
;; turn contracts on and off - off by default for performance. ;; turn contracts on and off - off by default for performance.