File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 2929(define (or-fn . as)
3030 (ormap identity as))
3131
32- (define-operator-impl (not [x : bool])
33- bool
34- #:spec (not x)
35- #:fl not
36- #:identities (#:exact (not a)))
32+ (define-operator-impl (not [x : bool]) bool #:spec (not x) #:fl not #:identities (#:exact (not a)))
3733
3834(define-operator-impl (and [x : bool] [y : bool])
3935 bool
Original file line number Diff line number Diff line change 173173 (define ift* (loop ift prop-dict))
174174 (define iff* (loop iff prop-dict))
175175 (list 'if cond* ift* iff*)]
176- [(list '! props ... body) (loop body (apply dict-set prop-dict props))]
176+ [(list '! props ... body)
177+ (loop body (if (not (null? props)) (apply dict-set prop-dict props) prop-dict))]
177178 [(list 'neg arg) ; non-standard but useful [TODO: remove]
178179 (define arg* (loop arg prop-dict))
179180 (fpcore->impl-app '- prop-dict (list arg*) ctx)]
You can’t perform that action at this time.
0 commit comments