From 40ca16bc3059a029adddd5da1006680db578fa4c Mon Sep 17 00:00:00 2001 From: Sam Tobin-Hochstadt Date: Thu, 24 Jun 2010 16:47:25 -0400 Subject: [PATCH] Types are not quotable. --- collects/typed-scheme/utils/utils.rkt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/collects/typed-scheme/utils/utils.rkt b/collects/typed-scheme/utils/utils.rkt index bf109ba970..4c81ab3fb3 100644 --- a/collects/typed-scheme/utils/utils.rkt +++ b/collects/typed-scheme/utils/utils.rkt @@ -152,9 +152,10 @@ at least theoretically. (syntax-parse stx [(form name (flds ...) printer:expr) #`(define-struct name (flds ...) + #:property prop:custom-print-quotable 'never #:property prop:custom-write (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.