File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
typed-racket-lib/typed-racket/env Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 75
75
76
76
(define (maybe-finish-register-type id)
77
77
(define v (free-id-table-ref the-mapping id))
78
- (if (box? v)
79
- (register-type id (unbox v))
80
- #f ))
78
+ (and (box? v) (register-type id (unbox v))))
81
79
82
80
(define (unregister-type id)
83
81
(free-id-table-remove! the-mapping id))
Original file line number Diff line number Diff line change 437
437
438
438
(define (bound-in-this-module id)
439
439
(define binding (identifier-binding id))
440
- (if (and (list? binding) (module-path-index? (car binding)))
441
- (let-values ([(mp base) (module-path-index-split (car binding))])
442
- (not mp))
443
- #f ))
440
+ (and (and (list? binding) (module-path-index? (car binding)))
441
+ (let-values ([(mp base) (module-path-index-split (car binding))])
442
+ (not mp))))
444
443
445
444
(define (make-init-code map f)
446
445
(define (bound-f id v)
You can’t perform that action at this time.
0 commit comments