aboutsummaryrefslogtreecommitdiff
path: root/src/lux/optimizer.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/lux/optimizer.clj')
-rw-r--r--src/lux/optimizer.clj3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lux/optimizer.clj b/src/lux/optimizer.clj
index 0daabe2b5..5c93bfbfb 100644
--- a/src/lux/optimizer.clj
+++ b/src/lux/optimizer.clj
@@ -13,4 +13,5 @@
;; Convert pattern-matching on booleans into regular if-then-else structures
;; [Exports]
-(def optimize &analyser/analyse)
+(defn optimize [eval!]
+ (&analyser/analyse eval!))