aboutsummaryrefslogtreecommitdiff
path: root/lux-js
diff options
context:
space:
mode:
authorEduardo Julian2022-12-02 19:33:00 -0400
committerEduardo Julian2022-12-02 19:33:00 -0400
commit94e5802f594a73245fce0fbd885103b8bf210d57 (patch)
tree65e5799c0be40f5f015b39bfa6c87c9c27fd9424 /lux-js
parentb491dfff00219d5206075ea65468e00ab657075d (diff)
Added some simple time-series handling machinery.
Diffstat (limited to 'lux-js')
-rw-r--r--lux-js/source/program.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux
index 022029702..6c3cbec26 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -556,7 +556,7 @@
(def (define context custom [_ input]) (..define! interpreter context custom input))
(def (ingest context content)
- (|> content (at utf8.codec decoded) try.trusted (as _.Statement)))
+ (|> content (of utf8.codec decoded) try.trusted (as _.Statement)))
(def (re_learn context custom content)
(..execute! interpreter content))
@@ -615,7 +615,7 @@
(def (define context custom [_ input]) (..define! context custom input))
(def (ingest context content)
- (|> content (at utf8.codec decoded) try.trusted (as _.Statement)))
+ (|> content (of utf8.codec decoded) try.trusted (as _.Statement)))
(def (re_learn context custom content)
(..execute! content))
@@ -652,7 +652,7 @@
platform.#phase js.expression
platform.#runtime runtime.translate
platform.#phase_wrapper ..phase_wrapper
- platform.#write (|>> _.code (at utf8.codec encoded))])))
+ platform.#write (|>> _.code (of utf8.codec encoded))])))
(def (lux_program context program)
(Program _.Expression _.Statement)
@@ -707,7 +707,7 @@
(def (declare_success! _)
(-> Any (Async Any))
- (async.future (at world/environment.default exit +0)))
+ (async.future (of world/environment.default exit +0)))
(def (scope body)
(-> _.Statement _.Statement)
@@ -737,7 +737,7 @@
service
[(packager.package _.use_strict _.code _.then ..scope)
(format (cli.target service)
- (at (the platform.#file_system platform) separator)
+ (of (the platform.#file_system platform) separator)
"program"
(the context.#artifact_extension context))])]
(..declare_success! []))