Types are not quotable.
This commit is contained in:
parent
5b1118d514
commit
40ca16bc30
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user