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. --- licentia/source/program/licentia.lux | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'licentia/source/program/licentia.lux') diff --git a/licentia/source/program/licentia.lux b/licentia/source/program/licentia.lux index e721e69b1..da5c37b82 100644 --- a/licentia/source/program/licentia.lux +++ b/licentia/source/program/licentia.lux @@ -66,16 +66,16 @@ (do io.monad [?done (is (IO (Try Any)) (do (try.with io.monad) - [blob (at file.default read input) + [blob (of file.default read input) document (io#wrap (do [! try.monad] - [raw_json (at utf8.codec decoded blob) + [raw_json (of utf8.codec decoded blob) json (|> raw_json java/lang/String::trim - (at json.codec decoded))] + (of json.codec decoded))] (|> json (.result /input.license) - (at ! each /output.license))))] - (at file.default write (at utf8.codec encoded document) output)))] + (of ! each /output.license))))] + (of file.default write (of utf8.codec encoded document) output)))] (wrap (debug.log! (when ?done {try.#Success _} (success_message output) -- cgit v1.2.3