aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/tool/compiler/default/evaluation.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/tool/compiler/default/evaluation.lux')
-rw-r--r--stdlib/source/lux/tool/compiler/default/evaluation.lux5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/source/lux/tool/compiler/default/evaluation.lux b/stdlib/source/lux/tool/compiler/default/evaluation.lux
index 72065a3c8..36e5678db 100644
--- a/stdlib/source/lux/tool/compiler/default/evaluation.lux
+++ b/stdlib/source/lux/tool/compiler/default/evaluation.lux
@@ -2,8 +2,9 @@
[lux #*
[abstract
[monad (#+ do)]]
+ [control
+ ["." try]]
[data
- ["." error]
[text
["%" format (#+ format)]]]]
[///
@@ -32,7 +33,7 @@
(do phase.monad
[exprA (type.with-type type
(analyze exprC))]
- (phase.lift (do error.monad
+ (phase.lift (do try.monad
[exprS (|> exprA synthesisP.phase (phase.run synthesis-state))]
(phase.run generation-state
(do phase.monad