From 91c0619657bcf2ac520e7dd2912188f66bbe2157 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 2 Jul 2019 23:36:02 -0400 Subject: Re-name "lux/data/error" to "lux/control/try". --- stdlib/source/spec/compositor/analysis/type.lux | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'stdlib/source/spec/compositor/analysis/type.lux') 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 -- cgit v1.2.3