From ec1f31b5a1492d5e0ab260397291d4449483bbd9 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 23 Aug 2021 02:30:53 -0400 Subject: The Python compiler can now be compiled by the new JVM compiler. --- licentia/source/program/licentia.lux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'licentia/source/program/licentia.lux') diff --git a/licentia/source/program/licentia.lux b/licentia/source/program/licentia.lux index 50fb066e9..14f29237f 100644 --- a/licentia/source/program/licentia.lux +++ b/licentia/source/program/licentia.lux @@ -67,14 +67,14 @@ (do (try.with io.monad) [blob (\ file.default read input) document (io\wrap (do {! try.monad} - [raw_json (\ utf8.codec decode blob) + [raw_json (\ utf8.codec decoded blob) json (|> raw_json java/lang/String::trim - (\ json.codec decode))] + (\ json.codec decoded))] (|> json (.result /input.license) (\ ! map /output.license))))] - (\ file.default write (\ utf8.codec encode document) output)))] + (\ file.default write (\ utf8.codec encoded document) output)))] (wrap (debug.log! (case ?done (#try.Success _) (success_message output) -- cgit v1.2.3