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 7575
7676(define (maybe-finish-register-type id)
7777 (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))))
8179
8280(define (unregister-type id)
8381 (free-id-table-remove! the-mapping id))
Original file line number Diff line number Diff line change 437437
438438(define (bound-in-this-module id)
439439 (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))))
444443
445444(define (make-init-code map f)
446445 (define (bound-f id v)
You can’t perform that action at this time.
0 commit comments