Use type aliases when printing full types.
Reduces the printout size significantly.
This commit is contained in:
parent
7eaae20f41
commit
34ee1d2603
|
@ -55,8 +55,8 @@
|
|||
#`(display #,(format "~a\n" (parse-type #'ty)))]
|
||||
;; Prints the _entire_ type. May be quite large.
|
||||
[(_ . ((~literal :print-type) e:expr))
|
||||
#`(display #,(format "~a\n"
|
||||
(tc-setup #'stx #'e 'top-level expanded init tc-toplevel-form before type
|
||||
#`(display #,(tc-setup #'stx #'e 'top-level expanded init tc-toplevel-form before type
|
||||
(format "~a\n"
|
||||
(match type
|
||||
[(tc-result1: t f o) t]
|
||||
[(tc-results: t) (cons 'Values t)]))))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user