aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/command
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/program/aedifex/command.lux10
-rw-r--r--stdlib/source/program/aedifex/command/auto.lux18
-rw-r--r--stdlib/source/program/aedifex/command/build.lux36
-rw-r--r--stdlib/source/program/aedifex/command/clean.lux16
-rw-r--r--stdlib/source/program/aedifex/command/deploy.lux18
-rw-r--r--stdlib/source/program/aedifex/command/deploy/release.lux28
-rw-r--r--stdlib/source/program/aedifex/command/deploy/snapshot.lux14
-rw-r--r--stdlib/source/program/aedifex/command/deps.lux24
-rw-r--r--stdlib/source/program/aedifex/command/install.lux22
-rw-r--r--stdlib/source/program/aedifex/command/pom.lux12
-rw-r--r--stdlib/source/program/aedifex/command/test.lux16
-rw-r--r--stdlib/source/program/aedifex/command/version.lux8
12 files changed, 111 insertions, 111 deletions
diff --git a/stdlib/source/program/aedifex/command.lux b/stdlib/source/program/aedifex/command.lux
index 89b03c25d..5cca59ce3 100644
--- a/stdlib/source/program/aedifex/command.lux
+++ b/stdlib/source/program/aedifex/command.lux
@@ -1,9 +1,9 @@
(.using
- [library
- [lux "*"]]
- ["[0]" // "_"
- ["[1]" profile]
- ["[1][0]" action {"+" Action}]])
+ [library
+ [lux "*"]]
+ ["[0]" // "_"
+ ["[1]" profile]
+ ["[1][0]" action (.only Action)]])
(type: .public (Command a)
(-> //.Profile (Action a)))
diff --git a/stdlib/source/program/aedifex/command/auto.lux b/stdlib/source/program/aedifex/command/auto.lux
index 7ae0c53d3..56cf050a6 100644
--- a/stdlib/source/program/aedifex/command/auto.lux
+++ b/stdlib/source/program/aedifex/command/auto.lux
@@ -2,28 +2,28 @@
[library
[lux "*"
[abstract
- ["[0]" monad {"+" do}]]
+ ["[0]" monad (.only do)]]
[control
- ["[0]" try {"+" Try}]
+ ["[0]" try (.only Try)]
[concurrency
- ["[0]" async {"+" Async}]]]
+ ["[0]" async (.only Async)]]]
[data
[collection
["[0]" list]
["[0]" set]]]
[world
- [program {"+" Program}]
- [shell {"+" Exit Shell}]
- [console {"+" Console}]
+ [program (.only Program)]
+ [shell (.only Exit Shell)]
+ [console (.only Console)]
["[0]" file
- ["[0]" watch {"+" Watcher}]]]]]
+ ["[0]" watch (.only Watcher)]]]]]
["[0]" // "_"
["/[1]" // "_"
- [command {"+" Command}]
+ [command (.only Command)]
["[1]" profile]
["[1][0]" action]
[dependency
- [resolution {"+" Resolution}]]]])
+ [resolution (.only Resolution)]]]])
(def: (targets fs path)
(-> (file.System Async) file.Path (Async (List file.Path)))
diff --git a/stdlib/source/program/aedifex/command/build.lux b/stdlib/source/program/aedifex/command/build.lux
index 71eee1347..ecee82fe1 100644
--- a/stdlib/source/program/aedifex/command/build.lux
+++ b/stdlib/source/program/aedifex/command/build.lux
@@ -1,28 +1,28 @@
(.using
[library
[lux {"-" Lux}
- ["[0]" ffi {"+" import:}]
+ ["[0]" ffi (.only import:)]
[abstract
- [order {"+" Order}]
- [monad {"+" do}]]
+ [order (.only Order)]
+ [monad (.only do)]]
[control
- ["[0]" try {"+" Try} ("[1]#[0]" functor)]
- ["[0]" exception {"+" exception:}]
- ["[0]" io {"+" IO}]
+ ["[0]" try (.only Try) ("[1]#[0]" functor)]
+ ["[0]" exception (.only exception:)]
+ ["[0]" io (.only IO)]
[concurrency
- ["[0]" async {"+" Async} ("[1]#[0]" monad)]]]
+ ["[0]" async (.only Async) ("[1]#[0]" monad)]]]
[data
["[0]" product]
["[0]" text ("[1]#[0]" order)
- ["%" format {"+" format}]]
+ ["%" format (.only format)]]
[collection
["[0]" list ("[1]#[0]" functor mix)]
- ["[0]" dictionary {"+" Dictionary}]
+ ["[0]" dictionary (.only Dictionary)]
["[0]" set]]]
[macro
["^" pattern]]
[math
- [number {"+" hex}
+ [number (.only hex)
["n" nat]
["i" int]]]
[meta
@@ -35,22 +35,22 @@
["[0]" packager
["[0]_[1]" ruby]]]]]
[world
- ["[0]" program {"+" Program}]
- ["[0]" file {"+" Path}]
- ["[0]" shell {"+" Exit Process Shell}]
- ["[0]" console {"+" Console}]
+ ["[0]" program (.only Program)]
+ ["[0]" file (.only Path)]
+ ["[0]" shell (.only Exit Process Shell)]
+ ["[0]" console (.only Console)]
[net
["[0]" uri]]]]]
["[0]" /// "_"
["[1]" profile]
["[1][0]" action]
- ["[1][0]" command {"+" Command}]
+ ["[1][0]" command (.only Command)]
["[1][0]" local]
["[1][0]" repository]
["[1][0]" runtime]
- ["[1][0]" dependency {"+" Dependency}
- ["[1]/[0]" resolution {"+" Resolution}]]
- ["[1][0]" artifact {"+" Group Name Version Artifact}
+ ["[1][0]" dependency (.only Dependency)
+ ["[1]/[0]" resolution (.only Resolution)]]
+ ["[1][0]" artifact (.only Group Name Version Artifact)
["[1]/[0]" type]]])
(type: Finder
diff --git a/stdlib/source/program/aedifex/command/clean.lux b/stdlib/source/program/aedifex/command/clean.lux
index 98f1461a8..e398b7bd2 100644
--- a/stdlib/source/program/aedifex/command/clean.lux
+++ b/stdlib/source/program/aedifex/command/clean.lux
@@ -2,21 +2,21 @@
[library
[lux "*"
[abstract
- ["[0]" monad {"+" do}]]
+ ["[0]" monad (.only do)]]
[control
- [try {"+" Try}]
+ [try (.only Try)]
[concurrency
- ["[0]" async {"+" Async}]]]
+ ["[0]" async (.only Async)]]]
[data
[text
- ["%" format {"+" format}]]]
+ ["%" format (.only format)]]]
[world
- ["[0]" file {"+" Path}]
- ["[0]" console {"+" Console}]]]]
+ ["[0]" file (.only Path)]
+ ["[0]" console (.only Console)]]]]
["[0]" /// "_"
- [command {"+" Command}]
+ [command (.only Command)]
["[1]" profile]
- ["[1][0]" action {"+" Action}]])
+ ["[1][0]" action (.only Action)]])
(def: (clean_files! fs root)
(-> (file.System Async) Path (Async (Try Any)))
diff --git a/stdlib/source/program/aedifex/command/deploy.lux b/stdlib/source/program/aedifex/command/deploy.lux
index 504a9206f..39e1c9815 100644
--- a/stdlib/source/program/aedifex/command/deploy.lux
+++ b/stdlib/source/program/aedifex/command/deploy.lux
@@ -2,24 +2,24 @@
[library
[lux "*"
[abstract
- [monad {"+" do}]]
+ [monad (.only do)]]
[control
- [try {"+" Try}]
+ [try (.only Try)]
[concurrency
- [async {"+" Async}]]]
+ [async (.only Async)]]]
[world
- [program {"+" Program}]
- [shell {"+" Shell}]
+ [program (.only Program)]
+ [shell (.only Shell)]
["[0]" file]
- ["[0]" console {"+" Console}]]]]
+ ["[0]" console (.only Console)]]]]
["[0]" / "_"
["[1][0]" snapshot]
["[1][0]" release]
["/[1]" // "_"
["/[1]" // "_"
- [command {"+" Command}]
- [repository {"+" Repository}]
- [artifact {"+" Artifact}]
+ [command (.only Command)]
+ [repository (.only Repository)]
+ [artifact (.only Artifact)]
["/" profile]
["[1][0]" action]]]])
diff --git a/stdlib/source/program/aedifex/command/deploy/release.lux b/stdlib/source/program/aedifex/command/deploy/release.lux
index b8b6e2531..51f07d66a 100644
--- a/stdlib/source/program/aedifex/command/deploy/release.lux
+++ b/stdlib/source/program/aedifex/command/deploy/release.lux
@@ -1,20 +1,20 @@
(.using
[library
[lux "*"
- ["[0]" ffi {"+" import:}]
+ ["[0]" ffi (.only import:)]
[abstract
- [predicate {"+" Predicate}]
- ["[0]" monad {"+" do}]]
+ [predicate (.only Predicate)]
+ ["[0]" monad (.only do)]]
[control
["[0]" pipe]
- ["[0]" try {"+" Try}]
- ["[0]" io {"+" IO}]
+ ["[0]" try (.only Try)]
+ ["[0]" io (.only IO)]
[concurrency
- ["[0]" async {"+" Async}]]
+ ["[0]" async (.only Async)]]
[parser
["[0]" environment]]]
[data
- ["[0]" binary {"+" Binary}]
+ ["[0]" binary (.only Binary)]
["[0]" text
["%" format]
[encoding
@@ -35,16 +35,16 @@
["[0]" packager "_"
["[1]" jvm]]]]]
[world
- [program {"+" Program}]
- [console {"+" Console}]
- ["[0]" shell {"+" Shell}]
+ [program (.only Program)]
+ [console (.only Console)]
+ ["[0]" shell (.only Shell)]
["[0]" file]]]]
["[0]" // "_"
["[1][0]" snapshot]
["/[1]" // "_"
["[1][0]" install]
["/[1]" // "_"
- [command {"+" Command}]
+ [command (.only Command)]
["/" profile]
["[1][0]" action]
["[1][0]" pom]
@@ -53,12 +53,12 @@
["[1][0]" dependency "_"
["[1]/[0]" deployment]
["[1]/[0]" status]]
- ["[1][0]" repository {"+" Repository}
+ ["[1][0]" repository (.only Repository)
["[1]/[0]" origin]
["[1]/[0]" local]]
- ["[1][0]" artifact {"+" Artifact}
+ ["[1][0]" artifact (.only Artifact)
["[1]/[0]" type]
- ["[1]/[0]" extension {"+" Extension}]]]]])
+ ["[1]/[0]" extension (.only Extension)]]]]])
(import: java/lang/String
"[1]::[0]"
diff --git a/stdlib/source/program/aedifex/command/deploy/snapshot.lux b/stdlib/source/program/aedifex/command/deploy/snapshot.lux
index fa69e8311..dc165a8ad 100644
--- a/stdlib/source/program/aedifex/command/deploy/snapshot.lux
+++ b/stdlib/source/program/aedifex/command/deploy/snapshot.lux
@@ -2,11 +2,11 @@
[library
[lux "*"
[abstract
- [monad {"+" do}]
- [predicate {"+" Predicate}]]
+ [monad (.only do)]
+ [predicate (.only Predicate)]]
[control
[concurrency
- ["[0]" async {"+" Async}]]]
+ ["[0]" async (.only Async)]]]
[data
["[0]" text
[encoding
@@ -22,10 +22,10 @@
[meta
["[0]" export]]]]
[world
- [console {"+" Console}]
+ [console (.only Console)]
["[0]" file]]]]
["[0]" //// "_"
- [command {"+" Command}]
+ [command (.only Command)]
["/" profile]
["[1][0]" action]
["[1][0]" pom]
@@ -33,9 +33,9 @@
["[1][0]" dependency "_"
["[1]/[0]" deployment]
["[1]/[0]" status]]
- ["[1][0]" repository {"+" Repository}
+ ["[1][0]" repository (.only Repository)
["[1]/[0]" origin]]
- ["[1][0]" artifact {"+" Artifact}
+ ["[1][0]" artifact (.only Artifact)
["[1]/[0]" type]]])
(def: .public snapshot?
diff --git a/stdlib/source/program/aedifex/command/deps.lux b/stdlib/source/program/aedifex/command/deps.lux
index b6d07d986..f4c9591ce 100644
--- a/stdlib/source/program/aedifex/command/deps.lux
+++ b/stdlib/source/program/aedifex/command/deps.lux
@@ -2,33 +2,33 @@
[library
[lux "*"
[abstract
- [monad {"+" do}]]
+ [monad (.only do)]]
[control
["[0]" exception]
[concurrency
- ["[0]" async {"+" Async}]]]
+ ["[0]" async (.only Async)]]]
[data
[collection
- ["[0]" set {"+" Set}]
+ ["[0]" set (.only Set)]
["[0]" list ("[1]#[0]" mix)]
["[0]" dictionary]]
[text
["%" format]]]
[world
- [net {"+" URL}]
- [program {"+" Program}]
+ [net (.only URL)]
+ [program (.only Program)]
["[0]" file]
- ["[0]" console {"+" Console}]]]]
+ ["[0]" console (.only Console)]]]]
["[0]" // "_"
["[1][0]" clean]
["/[1]" // "_"
- [command {"+" Command}]
- [repository {"+" Repository}]
+ [command (.only Command)]
+ [repository (.only Repository)]
["[1]" profile]
- ["[1][0]" action {"+" Action}]
- ["[1][0]" artifact {"+" Artifact}]
- ["[1][0]" dependency {"+" Dependency}
- ["[1]/[0]" resolution {"+" Resolution}]
+ ["[1][0]" action (.only Action)]
+ ["[1][0]" artifact (.only Artifact)]
+ ["[1][0]" dependency (.only Dependency)
+ ["[1]/[0]" resolution (.only Resolution)]
["[1]/[0]" deployment]]]])
(def: format
diff --git a/stdlib/source/program/aedifex/command/install.lux b/stdlib/source/program/aedifex/command/install.lux
index aced7165c..fee072b18 100644
--- a/stdlib/source/program/aedifex/command/install.lux
+++ b/stdlib/source/program/aedifex/command/install.lux
@@ -2,14 +2,14 @@
[library
[lux "*"
[abstract
- [monad {"+" do}]]
+ [monad (.only do)]]
[control
- ["[0]" try {"+" Try}]
+ ["[0]" try (.only Try)]
["[0]" exception]
[concurrency
- ["[0]" async {"+" Async}]]]
+ ["[0]" async (.only Async)]]]
[data
- [binary {"+" Binary}]
+ [binary (.only Binary)]
[text
[encoding
["[0]" utf8]]]
@@ -24,24 +24,24 @@
[meta
["[0]" export]]]]
[world
- [program {"+" Program}]
+ [program (.only Program)]
["[0]" file]
- ["[0]" console {"+" Console}]]]]
+ ["[0]" console (.only Console)]]]]
["[0]" // "_"
["[1][0]" clean]
["/[1]" // "_"
- ["/" profile {"+" Profile}]
- ["[1][0]" action {"+" Action}]
- ["[1][0]" command {"+" Command}]
+ ["/" profile (.only Profile)]
+ ["[1][0]" action (.only Action)]
+ ["[1][0]" command (.only Command)]
["[1][0]" local]
["[1][0]" pom]
["[1][0]" package]
- [repository {"+" Repository}
+ [repository (.only Repository)
["[1][0]" origin]]
["[1][0]" dependency "_"
["[1]/[0]" deployment]
["[1]/[0]" status]]
- ["[1][0]" artifact {"+" Artifact}
+ ["[1][0]" artifact (.only Artifact)
["[1]/[0]" type]]]])
(def: .public success
diff --git a/stdlib/source/program/aedifex/command/pom.lux b/stdlib/source/program/aedifex/command/pom.lux
index 23c25e7e1..3b443a178 100644
--- a/stdlib/source/program/aedifex/command/pom.lux
+++ b/stdlib/source/program/aedifex/command/pom.lux
@@ -2,23 +2,23 @@
[library
[lux "*"
[abstract
- [monad {"+" do}]]
+ [monad (.only do)]]
[control
- ["[0]" try {"+" Try} ("[1]#[0]" functor)]
+ ["[0]" try (.only Try) ("[1]#[0]" functor)]
[concurrency
- ["[0]" async {"+" Async} ("[1]#[0]" monad)]]]
+ ["[0]" async (.only Async) ("[1]#[0]" monad)]]]
[data
[text
- ["%" format {"+" format}]
+ ["%" format (.only format)]
[encoding
["[0]" utf8]]]
[format
["[0]" xml]]]
[world
["[0]" file]
- ["[0]" console {"+" Console}]]]]
+ ["[0]" console (.only Console)]]]]
["[0]" /// "_"
- [command {"+" Command}]
+ [command (.only Command)]
["[1][0]" action]
["[1][0]" pom]])
diff --git a/stdlib/source/program/aedifex/command/test.lux b/stdlib/source/program/aedifex/command/test.lux
index 1d4da3262..44cdbc1ed 100644
--- a/stdlib/source/program/aedifex/command/test.lux
+++ b/stdlib/source/program/aedifex/command/test.lux
@@ -2,11 +2,11 @@
[library
[lux "*"
[abstract
- [monad {"+" do}]]
+ [monad (.only do)]]
[control
- [try {"+" Try}]
+ [try (.only Try)]
[concurrency
- ["[0]" async {"+" Async} ("[1]#[0]" monad)]]]
+ ["[0]" async (.only Async) ("[1]#[0]" monad)]]]
[data
[collection
["[0]" dictionary]]]
@@ -16,19 +16,19 @@
[number
["i" int]]]
[world
- ["[0]" program {"+" Program}]
+ ["[0]" program (.only Program)]
["[0]" file]
- ["[0]" shell {"+" Exit Shell}]
- ["[0]" console {"+" Console}]]]]
+ ["[0]" shell (.only Exit Shell)]
+ ["[0]" console (.only Console)]]]]
["[0]" // "_"
["[1][0]" build]
["/[1]" // "_"
["[1]" profile]
["[1][0]" action]
- ["[1][0]" command {"+" Command}]
+ ["[1][0]" command (.only Command)]
["[1][0]" runtime]
[dependency
- [resolution {"+" Resolution}]]]])
+ [resolution (.only Resolution)]]]])
(def: .public start "[TEST STARTED]")
(def: .public success "[TEST ENDED]")
diff --git a/stdlib/source/program/aedifex/command/version.lux b/stdlib/source/program/aedifex/command/version.lux
index 9c40edd97..7725dcbc2 100644
--- a/stdlib/source/program/aedifex/command/version.lux
+++ b/stdlib/source/program/aedifex/command/version.lux
@@ -2,18 +2,18 @@
[library
[lux "*"
[control
- [try {"+" Try}]
+ [try (.only Try)]
[concurrency
- ["[0]" async {"+" Async}]]]
+ ["[0]" async (.only Async)]]]
["[0]" meta "_"
["[1]/[0]" version]]
[tool
[compiler
["[0]" version]]]
[world
- ["[0]" console {"+" Console}]]]]
+ ["[0]" console (.only Console)]]]]
[///
- [command {"+" Command}]])
+ [command (.only Command)]])
(def: .public (do! console profile)
(-> (Console Async) (Command Any))