From 94e5802f594a73245fce0fbd885103b8bf210d57 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Fri, 2 Dec 2022 19:33:00 -0400 Subject: Added some simple time-series handling machinery. --- lux-js/source/program.lux | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lux-js/source') 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! [])) -- cgit v1.2.3