aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Optimizer.hs
diff options
context:
space:
mode:
authorMarvin Borner2024-02-24 18:40:54 +0100
committerMarvin Borner2024-02-24 18:40:54 +0100
commit02d531a2dff18aed6ec8085c10113ac0a46b05b9 (patch)
treedb7af5225a9c67ee1ada684de57dab71332d8c3a /src/Optimizer.hs
parent1f78034588a4f545fce3dcd5070b45c60d3f0bdd (diff)
Added reducer selection flag
Diffstat (limited to 'src/Optimizer.hs')
-rw-r--r--src/Optimizer.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Optimizer.hs b/src/Optimizer.hs
index 2744b8f..260c149 100644
--- a/src/Optimizer.hs
+++ b/src/Optimizer.hs
@@ -83,4 +83,4 @@ optimizeToTarget conf e = do
Right res -> return $ toExpression target res
optimizedReduce :: EvalConf -> Expression -> IO Expression
-optimizedReduce conf e = optimizeToTarget conf e >>= reduce
+optimizedReduce conf e = optimizeToTarget conf e >>= reduce conf