Skip to content

Commit 4023a2f

Browse files
committed
Fix use of lazy-require
1 parent acb93b6 commit 4023a2f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/core/simplify.rkt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#lang racket
22

3-
(require pkg/lib)
3+
(require pkg/lib racket/lazy-require)
44
(require "../common.rkt" "../programs.rkt" "../timeline.rkt" "../errors.rkt"
55
"../syntax/rules.rkt" "../alternative.rkt")
66

@@ -91,9 +91,8 @@
9191
out)
9292

9393
(lazy-require
94-
[regraph
95-
make-regraph rule-phase precompute-phase prune-phase extractor-phase
96-
regraph-count regraph-cost regraph-extract])
94+
[regraph (make-regraph rule-phase precompute-phase prune-phase extractor-phase
95+
regraph-count regraph-cost regraph-extract)])
9796

9897
(define/contract (simplify-batch-regraph exprs #:rules rls #:precompute precompute?)
9998
(-> (listof expr?) #:rules (listof rule?) #:precompute boolean? (listof (listof expr?)))
@@ -126,10 +125,11 @@
126125
(map list (map unmunge (regraph-extract rg))))
127126

128127
(lazy-require
129-
[egg-herbie
130-
with-egraph egraph-add-exprs egraph-run
131-
egraph-is-unsound-detected egraph-get-times-applied egraph-get-simplest egraph-get-cost
132-
egg-expr->expr make-ffi-rules free-ffi-rules iteration-data-num-nodes iteration-data-time])
128+
[egg-herbie (with-egraph egraph-add-exprs egraph-run
129+
egraph-is-unsound-detected
130+
egraph-get-times-applied egraph-get-simplest egraph-get-cost
131+
egg-expr->expr make-ffi-rules free-ffi-rules
132+
iteration-data-num-nodes iteration-data-time)])
133133

134134
(define/contract (simplify-batch-egg exprs #:rules rls #:precompute precompute?)
135135
(-> (listof expr?) #:rules (listof rule?) #:precompute boolean? (listof (listof expr?)))

0 commit comments

Comments
 (0)