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 435435
436436(define (bound-in-this-module id)
437437 (define binding (identifier-binding id))
438- (if (and (list? binding) (module-path-index? (car binding)))
439- (let-values ([(mp base) (module-path-index-split (car binding))])
440- (not mp))
441- #f ))
438+ (and (and (list? binding) (module-path-index? (car binding)))
439+ (let-values ([(mp base) (module-path-index-split (car binding))])
440+ (not mp))))
442441
443442(define (make-init-code map f)
444443 (define (bound-f id v)
You can’t perform that action at this time.
0 commit comments