Get rid of some unused code.
Looks like some aborted attempt at abstraction, which is no longer used. original commit: 2e6b82ab8ec0cc63837759873e412831de5a1826
This commit is contained in:
parent
6176852a27
commit
22229fd8ac
|
@ -204,12 +204,6 @@
|
|||
(define (arr->sexp arr)
|
||||
(match arr
|
||||
[(arr: dom rng rest drest kws)
|
||||
(define out (open-output-string))
|
||||
(define (fp . args) (apply fprintf out args))
|
||||
(define (fp/filter fmt ret . rest)
|
||||
(if (print-complex-filters?)
|
||||
(apply fp fmt ret rest)
|
||||
(fp "-> ~a" ret)))
|
||||
(append
|
||||
(list '->)
|
||||
(map type->sexp dom)
|
||||
|
@ -273,8 +267,6 @@
|
|||
;; format->* : (Listof arr) -> S-Expression
|
||||
;; Format arrs that correspond to a ->* type
|
||||
(define (format->* arrs)
|
||||
(define out (open-output-string))
|
||||
(define (fp . args) (apply fprintf out args))
|
||||
;; see type-contract.rkt, which does something similar and this code
|
||||
;; was stolen from/inspired by/etc.
|
||||
(match* ((first arrs) (last arrs))
|
||||
|
|
Loading…
Reference in New Issue
Block a user