aboutsummaryrefslogtreecommitdiff
path: root/lux-lua
diff options
context:
space:
mode:
authorEduardo Julian2021-08-11 02:38:59 -0400
committerEduardo Julian2021-08-11 02:38:59 -0400
commita62ce3f9c2b605e0033f4772b0f64c4525de4d86 (patch)
treeecbabe8f110d82b2e6481cf7c0532d4bd4386570 /lux-lua
parent464b6e8f5e6c62f58fa8c7ff61ab2ad215e98bd1 (diff)
Relocated maybe and lazy from data to control.
Diffstat (limited to 'lux-lua')
-rw-r--r--lux-lua/source/program.lux6
1 files changed, 3 insertions, 3 deletions
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