aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/world
diff options
context:
space:
mode:
authorEduardo Julian2022-06-01 21:52:34 -0400
committerEduardo Julian2022-06-01 21:52:34 -0400
commit5d44577c3849a045052dc1c9f0dd7deddd032120 (patch)
treeb0e00801734720e9f985c7dfa239aaa0bdea7bcd /stdlib/source/test/lux/world
parent659537b4ec859f1e705cdd1f82da29ab1a662d94 (diff)
Extensible import syntax: Part 1
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/world.lux2
-rw-r--r--stdlib/source/test/lux/world/console.lux10
-rw-r--r--stdlib/source/test/lux/world/file.lux18
-rw-r--r--stdlib/source/test/lux/world/file/watch.lux16
-rw-r--r--stdlib/source/test/lux/world/input/keyboard.lux8
-rw-r--r--stdlib/source/test/lux/world/net/http/client.lux12
-rw-r--r--stdlib/source/test/lux/world/net/http/status.lux4
-rw-r--r--stdlib/source/test/lux/world/output/video/resolution.lux8
-rw-r--r--stdlib/source/test/lux/world/program.lux10
-rw-r--r--stdlib/source/test/lux/world/shell.lux16
10 files changed, 52 insertions, 52 deletions
diff --git a/stdlib/source/test/lux/world.lux b/stdlib/source/test/lux/world.lux
index 454a5a001..6e45123fc 100644
--- a/stdlib/source/test/lux/world.lux
+++ b/stdlib/source/test/lux/world.lux
@@ -1,7 +1,7 @@
(.using
[library
[lux "*"
- ["_" test {"+" Test}]]]
+ ["_" test (.only Test)]]]
["[0]" / "_"
["[1][0]" file]
["[1][0]" shell]
diff --git a/stdlib/source/test/lux/world/console.lux b/stdlib/source/test/lux/world/console.lux
index 29e8f66e5..263892a3c 100644
--- a/stdlib/source/test/lux/world/console.lux
+++ b/stdlib/source/test/lux/world/console.lux
@@ -1,16 +1,16 @@
(.using
[library
[lux "*"
- ["_" test {"+" Test}]
+ ["_" test (.only Test)]
[abstract
- [monad {"+" do}]]
+ [monad (.only do)]]
[control
["[0]" io]
- ["[0]" try {"+" Try}]
- ["[0]" exception {"+" exception:}]]
+ ["[0]" try (.only Try)]
+ ["[0]" exception (.only exception:)]]
[data
["[0]" text ("[1]#[0]" equivalence)
- ["%" format {"+" format}]]]
+ ["%" format (.only format)]]]
[math
["[0]" random]]]]
[\\library
diff --git a/stdlib/source/test/lux/world/file.lux b/stdlib/source/test/lux/world/file.lux
index 0ff782b56..c37c0eb91 100644
--- a/stdlib/source/test/lux/world/file.lux
+++ b/stdlib/source/test/lux/world/file.lux
@@ -1,28 +1,28 @@
(.using
[library
[lux "*"
- ["_" test {"+" Test}]
+ ["_" test (.only Test)]
[abstract
- ["[0]" monad {"+" do}]]
+ ["[0]" monad (.only do)]]
[control
- ["[0]" io {"+" IO}]
- ["[0]" try {"+" Try}]
+ ["[0]" io (.only IO)]
+ ["[0]" try (.only Try)]
["[0]" exception]
[concurrency
- ["[0]" async {"+" Async}]
- ["[0]" atom {"+" Atom}]]]
+ ["[0]" async (.only Async)]
+ ["[0]" atom (.only Atom)]]]
[data
- ["[0]" binary {"+" Binary} ("[1]#[0]" monoid)]
+ ["[0]" binary (.only Binary) ("[1]#[0]" monoid)]
["[0]" text ("[1]#[0]" equivalence)]
[collection
- ["[0]" dictionary {"+" Dictionary}]
+ ["[0]" dictionary (.only Dictionary)]
["[0]" list]]]
[macro
["^" pattern]]
[math
["[0]" random]]
[time
- ["[0]" instant {"+" Instant}]]]]
+ ["[0]" instant (.only Instant)]]]]
["[0]" / "_"
["[1][0]" watch]]
[\\library
diff --git a/stdlib/source/test/lux/world/file/watch.lux b/stdlib/source/test/lux/world/file/watch.lux
index 73e09ee96..e7beaa6a1 100644
--- a/stdlib/source/test/lux/world/file/watch.lux
+++ b/stdlib/source/test/lux/world/file/watch.lux
@@ -1,23 +1,23 @@
(.using
[library
[lux "*"
- ["_" test {"+" Test}]
+ ["_" test (.only Test)]
[abstract
- [predicate {"+" Predicate}]
- [monad {"+" do}]]
+ [predicate (.only Predicate)]
+ [monad (.only do)]]
[control
- ["[0]" try {"+" Try}]
+ ["[0]" try (.only Try)]
["[0]" exception]
[concurrency
- ["[0]" async {"+" Async}]]]
+ ["[0]" async (.only Async)]]]
[data
- ["[0]" binary {"+" Binary} ("[1]#[0]" equivalence)]
+ ["[0]" binary (.only Binary) ("[1]#[0]" equivalence)]
["[0]" text ("[1]#[0]" equivalence)
- ["%" format {"+" format}]]
+ ["%" format (.only format)]]
[collection
["[0]" list]]]
[math
- ["[0]" random {"+" Random} ("[1]#[0]" monad)]]]]
+ ["[0]" random (.only Random) ("[1]#[0]" monad)]]]]
[\\library
["[0]" /
["/[1]" //]]]
diff --git a/stdlib/source/test/lux/world/input/keyboard.lux b/stdlib/source/test/lux/world/input/keyboard.lux
index 5e2e33364..2c77b4e0c 100644
--- a/stdlib/source/test/lux/world/input/keyboard.lux
+++ b/stdlib/source/test/lux/world/input/keyboard.lux
@@ -1,20 +1,20 @@
(.using
[library
[lux "*"
- ["_" test {"+" Test}]
+ ["_" test (.only Test)]
[abstract
- [monad {"+" do}]]
+ [monad (.only do)]]
[control
["[0]" maybe]]
[data
["[0]" bit ("[1]#[0]" equivalence)]
[collection
["[0]" list]
- ["[0]" set {"+" Set}]]]
+ ["[0]" set (.only Set)]]]
[macro
["[0]" template]]
[math
- ["[0]" random {"+" Random}]
+ ["[0]" random (.only Random)]
[number
["n" nat]]]]]
[\\library
diff --git a/stdlib/source/test/lux/world/net/http/client.lux b/stdlib/source/test/lux/world/net/http/client.lux
index 560162875..e0b57ccd2 100644
--- a/stdlib/source/test/lux/world/net/http/client.lux
+++ b/stdlib/source/test/lux/world/net/http/client.lux
@@ -1,13 +1,13 @@
(.using
[library
[lux "*"
- ["_" test {"+" Test}]
+ ["_" test (.only Test)]
[abstract
- [monad {"+" Monad do}]]
+ [monad (.only Monad do)]]
[control
["[0]" pipe]
- ["[0]" io {"+" IO}]
- ["[0]" try {"+" Try}]
+ ["[0]" io (.only IO)]
+ ["[0]" try (.only Try)]
["[0]" function]
[concurrency
["[0]" async ("[1]#[0]" functor)]]]
@@ -15,13 +15,13 @@
["[0]" binary]
["[0]" product]
["[0]" text
- ["%" format {"+" format}]
+ ["%" format (.only format)]
[encoding
["[0]" utf8]]]
[collection
["[0]" dictionary]]]
[math
- ["[0]" random {"+" Random}]
+ ["[0]" random (.only Random)]
[number
["[0]" nat]]]]]
[\\library
diff --git a/stdlib/source/test/lux/world/net/http/status.lux b/stdlib/source/test/lux/world/net/http/status.lux
index 90ad92906..5ef42f25d 100644
--- a/stdlib/source/test/lux/world/net/http/status.lux
+++ b/stdlib/source/test/lux/world/net/http/status.lux
@@ -1,11 +1,11 @@
(.using
[library
[lux {"-" all}
- ["_" test {"+" Test}]
+ ["_" test (.only Test)]
[data
[collection
["[0]" list]
- ["[0]" set {"+" Set}]]]
+ ["[0]" set (.only Set)]]]
[macro
["[0]" template]]
[math
diff --git a/stdlib/source/test/lux/world/output/video/resolution.lux b/stdlib/source/test/lux/world/output/video/resolution.lux
index 3d46dc916..6839d6c1e 100644
--- a/stdlib/source/test/lux/world/output/video/resolution.lux
+++ b/stdlib/source/test/lux/world/output/video/resolution.lux
@@ -1,9 +1,9 @@
(.using
[library
[lux "*"
- ["_" test {"+" Test}]
+ ["_" test (.only Test)]
[abstract
- [monad {"+" do}]
+ [monad (.only do)]
[\\specification
["$[0]" equivalence]
["$[0]" hash]]]
@@ -12,9 +12,9 @@
[data
[collection
["[0]" list]
- ["[0]" set {"+" Set}]]]
+ ["[0]" set (.only Set)]]]
[math
- ["[0]" random {"+" Random}]
+ ["[0]" random (.only Random)]
[number
["n" nat]]]]]
[\\library
diff --git a/stdlib/source/test/lux/world/program.lux b/stdlib/source/test/lux/world/program.lux
index 6c82d00da..88183a6cb 100644
--- a/stdlib/source/test/lux/world/program.lux
+++ b/stdlib/source/test/lux/world/program.lux
@@ -1,9 +1,9 @@
(.using
[library
[lux "*"
- ["_" test {"+" Test}]
+ ["_" test (.only Test)]
[abstract
- [monad {"+" do}]]
+ [monad (.only do)]]
[control
["[0]" pipe]
["[0]" io]
@@ -11,20 +11,20 @@
["[0]" try]
["[0]" exception]
[parser
- [environment {"+" Environment}]]]
+ [environment (.only Environment)]]]
[data
["[0]" text ("[1]#[0]" equivalence)]
[collection
["[0]" dictionary]
["[0]" list]]]
[math
- ["[0]" random {"+" Random}]
+ ["[0]" random (.only Random)]
[number
["n" nat]]]]]
[\\library
["[0]" /
[//
- [file {"+" Path}]]]]
+ [file (.only Path)]]]]
[\\specification
["$[0]" /]])
diff --git a/stdlib/source/test/lux/world/shell.lux b/stdlib/source/test/lux/world/shell.lux
index 1c51086d6..2a86ff9be 100644
--- a/stdlib/source/test/lux/world/shell.lux
+++ b/stdlib/source/test/lux/world/shell.lux
@@ -1,17 +1,17 @@
(.using
[library
[lux "*"
- ["_" test {"+" Test}]
+ ["_" test (.only Test)]
[abstract
- [monad {"+" do}]]
+ [monad (.only do)]]
[control
- ["[0]" try {"+" Try}]
- ["[0]" exception {"+" exception:}]
- ["[0]" io {"+" IO}]
+ ["[0]" try (.only Try)]
+ ["[0]" exception (.only exception:)]
+ ["[0]" io (.only IO)]
[concurrency
- ["[0]" async {"+" Async}]]
+ ["[0]" async (.only Async)]]
[parser
- ["[0]" environment {"+" Environment}]]]
+ ["[0]" environment (.only Environment)]]]
[data
["[0]" text ("[1]#[0]" equivalence)]
[collection
@@ -24,7 +24,7 @@
[\\library
["[0]" /
[//
- [file {"+" Path}]]]]
+ [file (.only Path)]]]]
[\\specification
["$[0]" /]])