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/aedifex.lux | 40 +++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'stdlib/source/program/aedifex.lux') diff --git a/stdlib/source/program/aedifex.lux b/stdlib/source/program/aedifex.lux index b964e8fef..afebeb2ec 100644 --- a/stdlib/source/program/aedifex.lux +++ b/stdlib/source/program/aedifex.lux @@ -1,30 +1,30 @@ (.using [library [lux {"-" local} - [program {"+" program:}] + [program (.only program:)] ["[0]" debug] [abstract - [monad {"+" do}]] + [monad (.only do)]] [control - ["[0]" io {"+" IO}] + ["[0]" io (.only IO)] ["[0]" maybe] - ["[0]" try {"+" Try} ("[1]#[0]" functor)] - ["[0]" exception {"+" exception:}] + ["[0]" try (.only Try) ("[1]#[0]" functor)] + ["[0]" exception (.only exception:)] [parser - [environment {"+" Environment}]] + [environment (.only Environment)]] [concurrency - ["[0]" async {"+" Async} ("[1]#[0]" monad)]]] + ["[0]" async (.only Async) ("[1]#[0]" monad)]]] [data - [binary {"+" Binary}] + [binary (.only Binary)] ["[0]" text - ["%" format {"+" format}] + ["%" format (.only format)] [encoding ["[0]" utf8]]] [format ["[0]" xml]] [collection ["[0]" set] - ["[0]" dictionary {"+" Dictionary}] + ["[0]" dictionary (.only Dictionary)] ["[0]" list ("[1]#[0]" functor)]]] [tool [compiler @@ -32,27 +32,27 @@ [lux ["[0]" syntax]]]]] [world - ["[0]" shell {"+" Exit Shell}] - ["[0]" console {"+" Console}] - ["[0]" program {"+" Program}] - ["[0]" file {"+" Path} + ["[0]" shell (.only Exit Shell)] + ["[0]" console (.only Console)] + ["[0]" program (.only Program)] + ["[0]" file (.only Path) ["[0]" watch]] [net ["[0]" http "_" ["[1]" client]]]]]] ["[0]" / "_" ["[1]" profile] - ["[1][0]" action {"+" Action}] - ["[1][0]" project {"+" Project}] + ["[1][0]" action (.only Action)] + ["[1][0]" project (.only Project)] ["[1][0]" input] ["[1][0]" pom] ["[1][0]" cli] ["[1][0]" dependency "_" - ["[1]" resolution {"+" Resolution}]] - ["[1][0]" repository {"+" Repository} - ["[1]/[0]" remote {"+" Address}] + ["[1]" resolution (.only Resolution)]] + ["[1][0]" repository (.only Repository) + ["[1]/[0]" remote (.only Address)] ["[1]/[0]" local]] - ["[1][0]" command {"+" Command} + ["[1][0]" command (.only Command) ["[1]/[0]" version] ["[1]/[0]" clean] ["[1]/[0]" pom] -- cgit v1.2.3