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-python/source/program.lux | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lux-python') diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux index 0d6d82c63..c8b60c5a2 100644 --- a/lux-python/source/program.lux +++ b/lux-python/source/program.lux @@ -438,7 +438,7 @@ (def (ingest context content) (|> content - (at utf8.codec decoded) + (of utf8.codec decoded) try.trusted (as (_.Statement Any)))) @@ -481,7 +481,7 @@ (def define! define!) (def (ingest context content) - (|> content (at utf8.codec decoded) try.trusted (as (_.Statement Any)))) + (|> content (of utf8.codec decoded) try.trusted (as (_.Statement Any)))) (def (re_learn context content) (execute! content)) @@ -535,7 +535,7 @@ platform.#phase python.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 Any) (_.Statement Any)) @@ -552,7 +552,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 Any) (_.Statement Any)) @@ -596,7 +596,7 @@ _.then ..scope) (format (cli.target service) - (at file.default separator) + (of file.default separator) "program" extension)])] (..declare_success! [])) -- cgit v1.2.3