From a62ce3f9c2b605e0033f4772b0f64c4525de4d86 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 11 Aug 2021 02:38:59 -0400 Subject: Relocated maybe and lazy from data to control. --- lux-lua/source/program.lux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lux-lua') diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux index f644f6189..e55f4169a 100644 --- a/lux-lua/source/program.lux +++ b/lux-lua/source/program.lux @@ -6,6 +6,7 @@ [abstract ["." monad (#+ do)]] [control + ["." maybe] ["." try (#+ Try)] ["." exception (#+ exception:)] ["." io (#+ IO io)] @@ -13,7 +14,6 @@ [concurrency ["." async (#+ Async)]]] [data - ["." maybe] ["." text ("#\." hash) ["%" format (#+ format)] [encoding @@ -210,7 +210,7 @@ (|> value (array.read 2) maybe.assume re_wrap) _ - (error! (exception.construct ..unknown_kind_of_object field))) + (panic! (exception.construct ..unknown_kind_of_object field))) #.None (case (ffi.check java/lang/Long field) @@ -218,7 +218,7 @@ (|> value (array.read (|> idx (:as Nat) dec)) maybe.assume re_wrap) #.None - (error! (exception.construct ..unknown_kind_of_object field))))) + (panic! (exception.construct ..unknown_kind_of_object field))))) ))) (type: Translator -- cgit v1.2.3