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