From 5d44577c3849a045052dc1c9f0dd7deddd032120 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 1 Jun 2022 21:52:34 -0400 Subject: Extensible import syntax: Part 1 --- stdlib/source/program/compositor.lux | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'stdlib/source/program/compositor.lux') diff --git a/stdlib/source/program/compositor.lux b/stdlib/source/program/compositor.lux index 0d5b056d1..b1af66672 100644 --- a/stdlib/source/program/compositor.lux +++ b/stdlib/source/program/compositor.lux @@ -1,24 +1,24 @@ (.using [library [lux {"-" Module} - [type {"+" sharing}] + [type (.only sharing)] ["@" target] ["[0]" debug] [abstract - ["[0]" monad {"+" do}]] + ["[0]" monad (.only do)]] [control - ["[0]" io {"+" IO io}] + ["[0]" io (.only IO io)] ["[0]" maybe] - ["[0]" try {"+" Try}] + ["[0]" try (.only Try)] [concurrency - ["[0]" async {"+" Async} ("[1]#[0]" monad)]]] + ["[0]" async (.only Async) ("[1]#[0]" monad)]]] [data - [binary {"+" Binary}] + [binary (.only Binary)] ["[0]" product] ["[0]" text - ["%" format {"+" format}]] + ["%" format (.only format)]] [collection - ["[0]" dictionary {"+" Dictionary}]]] + ["[0]" dictionary (.only Dictionary)]]] [time ["[0]" instant]] ["[0]" world "_" @@ -29,29 +29,29 @@ ["[0]" compiler ["[0]" phase] [default - ["[0]" platform {"+" Platform}]] + ["[0]" platform (.only Platform)]] [language ["$" lux - ["[1]/[0]" program {"+" Program}] + ["[1]/[0]" program (.only Program)] ["[0]" syntax] ["[0]" generation] ["[0]" directive] ["[0]" analysis - [macro {"+" Expander}]] + [macro (.only Expander)]] [phase - [extension {"+" Extender}]]]] + [extension (.only Extender)]]]] [meta - [packager {"+" Packager}] - [context {"+" Context}] - ["[0]" cli {"+" Service}] + [packager (.only Packager)] + [context (.only Context)] + ["[0]" cli (.only Service)] ["[0]" import] ["[0]" export] ["[0]" cache "_" ["[1]" archive]] - [archive {"+" Archive} + [archive (.only Archive) ["[0]" unit] [module - [descriptor {"+" Module}]]] + [descriptor (.only Module)]]] [io ["ioW" archive]]]] ... ["[0]" interpreter] -- cgit v1.2.3