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)))]
|
#`(display #,(format "~a\n" (parse-type #'ty)))]
|
||||||
;; Prints the _entire_ type. May be quite large.
|
;; Prints the _entire_ type. May be quite large.
|
||||||
[(_ . ((~literal :print-type) e:expr))
|
[(_ . ((~literal :print-type) e:expr))
|
||||||
#`(display #,(format "~a\n"
|
#`(display #,(tc-setup #'stx #'e 'top-level expanded init tc-toplevel-form before type
|
||||||
(tc-setup #'stx #'e 'top-level expanded init tc-toplevel-form before type
|
(format "~a\n"
|
||||||
(match type
|
(match type
|
||||||
[(tc-result1: t f o) t]
|
[(tc-result1: t f o) t]
|
||||||
[(tc-results: t) (cons 'Values t)]))))]
|
[(tc-results: t) (cons 'Values t)]))))]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user