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/spec/compositor.lux | |
parent | 4f191540f831a7bba0e262b1a6b598f99fb9b35c (diff) |
Re-name "lux/data/error" to "lux/control/try".
Diffstat (limited to 'stdlib/source/spec/compositor.lux')
-rw-r--r-- | stdlib/source/spec/compositor.lux | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/stdlib/source/spec/compositor.lux b/stdlib/source/spec/compositor.lux index 75818c3cf..903097950 100644 --- a/stdlib/source/spec/compositor.lux +++ b/stdlib/source/spec/compositor.lux @@ -4,9 +4,8 @@ [abstract [monad (#+ do)]] [control - ["." io (#+ IO)]] - [data - ["." error]] + ["." io (#+ IO)] + ["." try]] [math ["r" random]] [tool @@ -59,10 +58,10 @@ expander program))]] (case ?state,runner,definer - (#error.Success [[statement-bundle statement-state] runner definer]) + (#try.Success [[statement-bundle statement-state] runner definer]) (..test runner definer (get@ [#statement.analysis #statement.state] statement-state) expander) - (#error.Failure error) + (#try.Failure error) (_.fail error)))) |