aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/meta/target/lua.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/meta/target/lua.lux')
-rw-r--r--stdlib/source/library/lux/meta/target/lua.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/meta/target/lua.lux b/stdlib/source/library/lux/meta/target/lua.lux
index 1ea2f196c..8168b065b 100644
--- a/stdlib/source/library/lux/meta/target/lua.lux
+++ b/stdlib/source/library/lux/meta/target/lua.lux
@@ -1,6 +1,6 @@
(.require
[library
- [lux (.except Location Code Label int if function or and not let local comment the)
+ [lux (.except Location Code Label int if function or and not let local comment the when)
[abstract
[equivalence (.only Equivalence)]
[hash (.only Hash)]
@@ -91,7 +91,7 @@
(def .public boolean
(-> Bit Literal)
- (|>> (pipe.case
+ (|>> (pipe.when
#0 "false"
#1 "true")
abstraction))
@@ -375,7 +375,7 @@
(def arity_inputs
(syntax (_ [arity <code>.nat])
- (in (case arity
+ (in (.when arity
0 (.list)
_ (|> (-- arity)
(enum.range n.enum 0)