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/analysis/type.lux | |
parent | 4f191540f831a7bba0e262b1a6b598f99fb9b35c (diff) |
Re-name "lux/data/error" to "lux/control/try".
Diffstat (limited to 'stdlib/source/spec/compositor/analysis/type.lux')
-rw-r--r-- | stdlib/source/spec/compositor/analysis/type.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/spec/compositor/analysis/type.lux b/stdlib/source/spec/compositor/analysis/type.lux index a6105bbde..b2daee77a 100644 --- a/stdlib/source/spec/compositor/analysis/type.lux +++ b/stdlib/source/spec/compositor/analysis/type.lux @@ -6,9 +6,9 @@ [monad (#+ do)]] [control [pipe (#+ case>)] - ["." io]] + ["." io] + ["." try]] [data - ["." error] ["." bit ("#@." equivalence)] ["." text ("#@." equivalence)]] [math @@ -30,10 +30,10 @@ (analysis/type.with-type output-type (analysis.phase expander (` ((~ (code.text extension)) (~+ params)))))) (phase.run state) - (case> (#error.Success _) + (case> (#try.Success _) true - (#error.Failure error) + (#try.Failure _) false))) (def: check |