Skip to content

Commit 5c89836

Browse files
committed
fmt
1 parent becae91 commit 5c89836

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/core/egg-herbie.rkt

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -525,15 +525,13 @@
525525
;; Synthesizes lowering rules for a given platform.
526526
(define (platform-lowering-rules [pform (*active-platform*)])
527527
(define impls (platform-impls pform))
528-
(append*
529-
(for/list ([impl (in-list impls)])
530-
(hash-ref!
531-
(*lowering-rules*)
532-
(cons impl pform)
533-
(lambda ()
534-
(define name (sym-append 'lower- impl))
535-
(define-values (vars spec-expr impl-expr) (impl->rule-parts impl))
536-
(list (rule name spec-expr impl-expr '(lowering))))))))
528+
(append* (for/list ([impl (in-list impls)])
529+
(hash-ref! (*lowering-rules*)
530+
(cons impl pform)
531+
(lambda ()
532+
(define name (sym-append 'lower- impl))
533+
(define-values (vars spec-expr impl-expr) (impl->rule-parts impl))
534+
(list (rule name spec-expr impl-expr '(lowering))))))))
537535

538536
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
539537
;; Racket egraph

0 commit comments

Comments
 (0)