aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/host/js.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/host/js.lux')
-rw-r--r--stdlib/source/lux/host/js.lux16
1 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/source/lux/host/js.lux b/stdlib/source/lux/host/js.lux
index 05778db9f..bb52784a1 100644
--- a/stdlib/source/lux/host/js.lux
+++ b/stdlib/source/lux/host/js.lux
@@ -6,7 +6,7 @@
["." text
format]
[collection
- ["." list ("#/." functor fold)]]]
+ ["." list ("#;." functor fold)]]]
[macro
["." template]]
[type
@@ -93,7 +93,7 @@
(def: #export array
(-> (List Expression) Computation)
- (|>> (list/map ..code)
+ (|>> (list;map ..code)
(text.join-with ..argument-separator)
..element
:abstraction))
@@ -115,7 +115,7 @@
(def: #export (apply/* function inputs)
(-> Expression (List Expression) Computation)
(|> inputs
- (list/map ..code)
+ (list;map ..code)
(text.join-with ..argument-separator)
..argument
(format (:representation function))
@@ -148,7 +148,7 @@
(def: #export object
(-> (List [Text Expression]) Computation)
- (|>> (list/map (.function (_ [key val])
+ (|>> (list;map (.function (_ [key val])
(format (:representation (..string key)) ..field-separator (:representation val))))
(text.join-with ..argument-separator)
(text.enclose ["{" "}"])
@@ -186,7 +186,7 @@
..block
(format "function " (:representation name)
(|> inputs
- (list/map ..code)
+ (list;map ..code)
(text.join-with ..argument-separator)
..argument)
" ")
@@ -199,7 +199,7 @@
..block
(format "function"
(|> inputs
- (list/map ..code)
+ (list;map ..code)
(text.join-with ..argument-separator)
..argument)
" ")
@@ -270,7 +270,7 @@
(-> Expression (List Expression) Computation)
(|> (format "new " (:representation constructor)
(|> inputs
- (list/map ..code)
+ (list;map ..code)
(text.join-with ..argument-separator)
..argument))
..argument
@@ -363,7 +363,7 @@
(def: #export (cond clauses else!)
(-> (List [Expression Statement]) Statement Statement)
- (list/fold (.function (_ [test then!] next!)
+ (list;fold (.function (_ [test then!] next!)
(..if test then! next!))
else!
(list.reverse clauses)))