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/test/lux.lux | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'stdlib/source/test/lux.lux') diff --git a/stdlib/source/test/lux.lux b/stdlib/source/test/lux.lux index 79265e7b3..a4416f38d 100644 --- a/stdlib/source/test/lux.lux +++ b/stdlib/source/test/lux.lux @@ -1,39 +1,39 @@ (.`` (.`` (.using [library ["/" lux "*" - [program {"+" program:}] - ["_" test {"+" Test}] + [program (.only program:)] + ["_" test (.only Test)] ["@" target] ["[0]" static] [abstract - [monad {"+" do}]] + [monad (.only do)]] [control ["[0]" io] ["[0]" maybe ("[1]#[0]" functor)] [concurrency - ["[0]" atom {"+" Atom}]] + ["[0]" atom (.only Atom)]] [parser ["<[0]>" code]]] [data ["[0]" product] ["[0]" bit ("[1]#[0]" equivalence)] ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" format}]] + ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor)] - ["[0]" set {"+" Set} ("[1]#[0]" equivalence)] + ["[0]" set (.only Set) ("[1]#[0]" equivalence)] [dictionary ["[0]" plist]]]] ["[0]" macro - [syntax {"+" syntax:}] + [syntax (.only syntax:)] ["^" pattern] ["[0]" code ("[1]#[0]" equivalence)] ["[0]" template]] ["[0]" math ["[0]" random ("[1]#[0]" functor)] [number - [i8 {"+"}] - [i16 {"+"}] + [i8 (.only)] + [i16 (.only)] ["n" nat] ["i" int] ["r" rev] @@ -479,9 +479,9 @@ ("lux def module" [[ ]]) [( "*")]] - [(.using [ ' {"+" }]) + [(.using [ ' (.only )]) ("lux def module" [[ ]]) - [( {"+" })]] + [( (.only ))]] [(.using [ ' {"-" }]) ("lux def module" [[ ]]) -- cgit v1.2.3