aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/meta/target/js.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/meta/target/js.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/meta/target/js.lux b/stdlib/source/library/lux/meta/target/js.lux
index e5a1ce144..37792d6bc 100644
--- a/stdlib/source/library/lux/meta/target/js.lux
+++ b/stdlib/source/library/lux/meta/target/js.lux
@@ -1,6 +1,6 @@
(.require
[library
- [lux (.except Location Code Label or and function if undefined for comment not int try ++ -- the type_of at ,)
+ [lux (.except Location Code Label or and function if undefined for comment not int try ++ -- the type_of at , when)
[control
["[0]" pipe]]
[data
@@ -73,7 +73,7 @@
(def .public boolean
(-> Bit Literal)
- (|>> (pipe.case
+ (|>> (pipe.when
#0 "false"
#1 "true")
abstraction))
@@ -414,7 +414,7 @@
(..nested (representation then)))))
(text.interposed \n+))
\n+
- (case default
+ (.when default
{.#Some default}
(format "default:"
(..nested (representation default)))