From 3589348d31a21e3d8e670c1d3e7a0bf83ef3e420 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 16 Mar 2019 01:45:58 -0400 Subject: Got serial imports fully working. --- stdlib/source/lux/tool/compiler.lux | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'stdlib/source/lux/tool/compiler.lux') diff --git a/stdlib/source/lux/tool/compiler.lux b/stdlib/source/lux/tool/compiler.lux index 12a2f869c..836e9022a 100644 --- a/stdlib/source/lux/tool/compiler.lux +++ b/stdlib/source/lux/tool/compiler.lux @@ -4,6 +4,7 @@ ["." exception (#+ exception:)]] [data ["." error (#+ Error)] + ["." text] [collection ["." dictionary (#+ Dictionary)]]] [world @@ -30,11 +31,15 @@ (type: #export (Output o) (Dictionary Text o)) +(def: #export empty-output + Output + (dictionary.new text.hash)) + (type: #export (Compilation s d o) {#dependencies (List Module) #process (-> s Archive - (Error (Either [s (Compilation s d o)] - [s [Descriptor (Document d)] (Output o)])))}) + (Error [s (Either (Compilation s d o) + [[Descriptor (Document d)] (Output o)])]))}) (type: #export (Compiler s d o) (-> Input (Compilation s d o))) -- cgit v1.2.3