File tree Expand file tree Collapse file tree 2 files changed +418
-245
lines changed Expand file tree Collapse file tree 2 files changed +418
-245
lines changed Original file line number Diff line number Diff line change 12711271 ; Checks both status and val-points
12721272 (when (and (equal? (cdr val-point) (cdr val-point2))
12731273 (not (equal? (car val-point) (car val-point2))))
1274- (displayln "__________________ " )
1274+ (displayln "__________________ " )
12751275 (display "prog: " )
12761276 (displayln prog)
12771277 (display "diff: " )
12781278 (displayln diff)
1279+ (when (not (equal? diff #f ))
12791280 (if (equal? (first diff) -0.0 )
1280- (displayln ( format "Expr 1: ~a Expr 2: ~a " (car val-point) (car val-point2) ));insert match statement to check for patterns ex- x+0 -> x
1281- (displayln "NO " )))))
1281+ (format "Expr 1: ~a Expr 2: ~a " (car val-point) (car val-point2));insert match statement to check for patterns ex- x+0 -> x
1282+ (displayln "NO " ))))))
12821283 l]
12831284 [`(multi . ,extractor) ; multi expression extraction
12841285 (define regraph (make-regraph egg-graph))
You can’t perform that action at this time.
0 commit comments