File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
typed-racket-lib/typed-racket/rep Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 268268 [(list (? exact-integer? coeff) (? Path? p))
269269 (values c (terms-set ts p (+ coeff (terms-ref ts p))))]
270270 [(list (? exact-integer? coeff) (? name-ref/c nm))
271- (let ([ p (-id-path nm)] )
272- (if (Empty? nm)
273- (values c ts)
274- (values c (terms-set ts p (+ coeff (terms-ref ts p) )))))]
271+ (define p (-id-path nm))
272+ (if (Empty? nm)
273+ (values c ts)
274+ (values c (terms-set ts p (+ coeff (terms-ref ts p)))))]
275275 [(? exact-integer? new-const)
276276 (values (+ new-const c) ts)]
277277 [(LExp: c* ts*)
Original file line number Diff line number Diff line change 11551155 (match ts
11561156 [(list) (-refine Univ prop)]
11571157 [(list t) (-refine t prop)]
1158- [_ (let ([ t (make-Intersection ts -tt elems)] )
1159- (-refine t prop) )])]
1158+ [_ (define t (make-Intersection ts -tt elems))
1159+ (-refine t prop)])]
11601160 [(cons arg args)
11611161 (match arg
11621162 [(Univ:) (loop ts elems prop args)]
You can’t perform that action at this time.
0 commit comments