aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/spec/compositor/analysis/type.lux
diff options
context:
space:
mode:
authorEduardo Julian2019-07-02 23:36:02 -0400
committerEduardo Julian2019-07-02 23:36:02 -0400
commit91c0619657bcf2ac520e7dd2912188f66bbe2157 (patch)
treef26675f263eb5f0285c1674b0777a7369248fe07 /stdlib/source/spec/compositor/analysis/type.lux
parent4f191540f831a7bba0e262b1a6b598f99fb9b35c (diff)
Re-name "lux/data/error" to "lux/control/try".
Diffstat (limited to '')
-rw-r--r--stdlib/source/spec/compositor/analysis/type.lux8
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