diff options
author | Eduardo Julian | 2019-07-02 23:36:02 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-07-02 23:36:02 -0400 |
commit | 91c0619657bcf2ac520e7dd2912188f66bbe2157 (patch) | |
tree | f26675f263eb5f0285c1674b0777a7369248fe07 /stdlib/source/lux/tool/compiler/phase/synthesis.lux | |
parent | 4f191540f831a7bba0e262b1a6b598f99fb9b35c (diff) |
Re-name "lux/data/error" to "lux/control/try".
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/tool/compiler/phase/synthesis.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/lux/tool/compiler/phase/synthesis.lux b/stdlib/source/lux/tool/compiler/phase/synthesis.lux index 1b92abf97..45372e46b 100644 --- a/stdlib/source/lux/tool/compiler/phase/synthesis.lux +++ b/stdlib/source/lux/tool/compiler/phase/synthesis.lux @@ -3,10 +3,10 @@ [abstract ["." monad (#+ do)]] [control - [pipe (#+ case>)]] + [pipe (#+ case>)] + ["." try]] [data ["." maybe] - ["." error] [collection ["." list ("#;." functor)] ["." dictionary (#+ Dictionary)]]]] @@ -77,10 +77,10 @@ (function (_ state) (|> (//extension.apply phase [name args]) (//.run' state) - (case> (#error.Success output) - (#error.Success output) + (case> (#try.Success output) + (#try.Success output) - (#error.Failure error) + (#try.Failure _) (<| (//.run' state) (do //.monad [argsS+ (monad.map @ phase args)] |