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-lua/source/program.lux | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lux-lua') 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 @.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! [])) -- cgit v1.2.3