diff options
author | Eduardo Julian | 2022-12-02 19:33:00 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-12-02 19:33:00 -0400 |
commit | 94e5802f594a73245fce0fbd885103b8bf210d57 (patch) | |
tree | 65e5799c0be40f5f015b39bfa6c87c9c27fd9424 /lux-lua | |
parent | b491dfff00219d5206075ea65468e00ab657075d (diff) |
Added some simple time-series handling machinery.
Diffstat (limited to 'lux-lua')
-rw-r--r-- | lux-lua/source/program.lux | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux index f6ba0278e..00f7641b8 100644 --- a/lux-lua/source/program.lux +++ b/lux-lua/source/program.lux @@ -730,7 +730,7 @@ (def (ingest context content) (|> content - (at utf8.codec decoded) + (of utf8.codec decoded) try.trusted (as _.Statement))) @@ -772,7 +772,7 @@ (in [global value definition])))) (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) (run! content)) @@ -851,7 +851,7 @@ platform.#phase lua.expression platform.#runtime runtime.translate platform.#phase_wrapper (..phase_wrapper ..to_host) - platform.#write (|>> _.code (at utf8.codec encoded))]])))] + platform.#write (|>> _.code (of utf8.codec encoded))]])))] (for @.old <jvm> @.jvm <jvm> @.lua (def platform @@ -863,7 +863,7 @@ platform.#phase lua.expression platform.#runtime runtime.translate platform.#phase_wrapper (..phase_wrapper ..to_host) - platform.#write (|>> _.code (at utf8.codec encoded))]))))) + platform.#write (|>> _.code (of utf8.codec encoded))]))))) (def (lux_program context program) (Program _.Expression _.Statement) @@ -874,7 +874,7 @@ (def (declare_success! _) (-> Any (Async Any)) - (async.future (at world/environment.default exit +0))) + (async.future (of world/environment.default exit +0))) (def (lux_compiler it) (-> Any platform.Custom) @@ -909,7 +909,7 @@ _.then (|>>)) (format (cli.target service) - (at file.default separator) + (of file.default separator) "program" (the context.#artifact_extension context))])] (..declare_success! [])) |