Switch to square brackets for REPL type display.
original commit: 3c3e5902e5269f83ace39f1f2cc42329ccd11a23
This commit is contained in:
parent
65401d5bd8
commit
8578b9ea79
|
@ -95,7 +95,7 @@
|
|||
(format "- : ~a~a~a\n"
|
||||
tg
|
||||
(cond [(equal? tc tg) ""]
|
||||
[else (format " (generalized from ~a)" tc)])
|
||||
[else (format " [generalized from ~a]" tc)])
|
||||
(cond [(equal? tc t) ""]
|
||||
[did-I-suggest-:print-type-already? " ..."]
|
||||
[else (set! did-I-suggest-:print-type-already? #t)
|
||||
|
@ -106,7 +106,7 @@
|
|||
(format "- : ~a~a~a\n"
|
||||
(cons 'Values tgs)
|
||||
(cond [(andmap equal? tgs tcs) ""]
|
||||
[else (format " (generalized from ~a)" (cons 'Values tcs))])
|
||||
[else (format " [generalized from ~a]" (cons 'Values tcs))])
|
||||
;; did any get pruned?
|
||||
(cond [(andmap equal? t tcs) ""]
|
||||
[did-I-suggest-:print-type-already? " ..."]
|
||||
|
|
Loading…
Reference in New Issue
Block a user