diff options
author | Eduardo Julian | 2021-09-13 00:29:57 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-09-13 00:29:57 -0400 |
commit | 376c3e472fbb1e2656f8c61b26e0276570609aa1 (patch) | |
tree | bc76d7aeff4f2b889ae262a64dc8d26b0476068d /stdlib/source/program/aedifex/command | |
parent | 2dbbaaec93a53f8dd0b96a0028b9cf125c9066cd (diff) |
Updated only/except import syntax to take into account record => variant syntax change.
Diffstat (limited to 'stdlib/source/program/aedifex/command')
-rw-r--r-- | stdlib/source/program/aedifex/command/auto.lux | 18 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/build.lux | 36 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/clean.lux | 16 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/deploy.lux | 30 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/deps.lux | 24 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/install.lux | 22 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/pom.lux | 10 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/test.lux | 16 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/version.lux | 6 |
9 files changed, 89 insertions, 89 deletions
diff --git a/stdlib/source/program/aedifex/command/auto.lux b/stdlib/source/program/aedifex/command/auto.lux index 863251305..247160615 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 {"+" do}]] [control - ["[0]" try {"+" [Try]}] + ["[0]" try {"+" Try}] [concurrency - ["[0]" async {"+" [Async]}]]] + ["[0]" async {"+" Async}]]] [data [collection ["[0]" list] ["[0]" set]]] [world - [program {"+" [Program]}] - [shell {"+" [Exit Shell]}] - [console {"+" [Console]}] + [program {"+" Program}] + [shell {"+" Exit Shell}] + [console {"+" Console}] ["[0]" file - ["[0]" watch {"+" [Watcher]}]]]]] + ["[0]" watch {"+" Watcher}]]]]] ["[0]" // "_" ["/[1]" // "_" - [command {"+" [Command]}] + [command {"+" Command}] ["[1]" profile] ["[1][0]" action] [dependency - [resolution {"+" [Resolution]}]]]]) + [resolution {"+" 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 d20b00479..19c7d86d9 100644 --- a/stdlib/source/program/aedifex/command/build.lux +++ b/stdlib/source/program/aedifex/command/build.lux @@ -1,45 +1,45 @@ (.module: [library - [lux {"-" [Name]} - ["[0]" ffi {"+" [import:]}] + [lux {"-" Name} + ["[0]" ffi {"+" import:}] [abstract - [order {"+" [Order]}] - [monad {"+" [do]}]] + [order {"+" Order}] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] - ["[0]" io {"+" [IO]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] + ["[0]" io {"+" IO}] [concurrency - ["[0]" async {"+" [Async]} ("[1]#[0]" monad)]]] + ["[0]" async {"+" Async} ("[1]#[0]" monad)]]] [data ["[0]" product] ["[0]" text ("[1]#[0]" order) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] - ["[0]" dictionary {"+" [Dictionary]}] + ["[0]" dictionary {"+" Dictionary}] ["[0]" set]]] [math [number ["n" nat] ["i" int]]] [world - ["[0]" program {"+" [Program]}] - ["[0]" file {"+" [Path]}] - ["[0]" shell {"+" [Exit Process Shell]}] - ["[0]" console {"+" [Console]}] + ["[0]" program {"+" Program}] + ["[0]" file {"+" Path}] + ["[0]" shell {"+" Exit Process Shell}] + ["[0]" console {"+" Console}] [net ["[0]" uri]]]]] ["[0]" /// "_" ["[1]" profile] ["[1][0]" action] - ["[1][0]" command {"+" [Command]}] + ["[1][0]" command {"+" 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 {"+" Dependency} + ["[1]/[0]" resolution {"+" Resolution}]] + ["[1][0]" artifact {"+" 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 bbdec8763..0e15592e4 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 {"+" do}]] [control - [try {"+" [Try]}] + [try {"+" Try}] [concurrency - ["[0]" async {"+" [Async]}]]] + ["[0]" async {"+" Async}]]] [data [text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [world - ["[0]" file {"+" [Path]}] - ["[0]" console {"+" [Console]}]]]] + ["[0]" file {"+" Path}] + ["[0]" console {"+" Console}]]]] ["[0]" /// "_" - [command {"+" [Command]}] + [command {"+" Command}] ["[1]" profile] - ["[1][0]" action {"+" [Action]}]]) + ["[1][0]" action {"+" 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 d6d783113..775d52529 100644 --- a/stdlib/source/program/aedifex/command/deploy.lux +++ b/stdlib/source/program/aedifex/command/deploy.lux @@ -2,18 +2,18 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - [pipe {"+" [do>]}] - ["[0]" try {"+" [Try]}] + [pipe {"+" do>}] + ["[0]" try {"+" Try}] [concurrency - ["[0]" async {"+" [Async]} ("[1]#[0]" monad)]] + ["[0]" async {"+" Async} ("[1]#[0]" monad)]] ["<>" parser ["<[0]>" xml]]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] [text - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection @@ -23,34 +23,34 @@ ["[0]" tar] ["[0]" xml]]] [time - ["[0]" instant {"+" [Instant]}]] + ["[0]" instant {"+" Instant}]] [world ["[0]" file] - ["[0]" console {"+" [Console]}]]]] + ["[0]" console {"+" Console}]]]] [program [compositor ["[0]" export]]] ["[0]" // "_" ["[1][0]" clean] ["/[1]" // "_" - [command {"+" [Command]}] + [command {"+" Command}] ["/" profile] - ["[1][0]" action {"+" [Action]}] + ["[1][0]" action {"+" Action}] ["[1][0]" pom] ["[1][0]" hash] ["[1][0]" package] ["[1][0]" dependency ["[1]/[0]" deployment] - ["[1]/[0]" status {"+" [Status]}]] - ["[1][0]" repository {"+" [Repository]} - [identity {"+" [Identity]}] + ["[1]/[0]" status {"+" Status}]] + ["[1][0]" repository {"+" Repository} + [identity {"+" Identity}] ["[1]/[0]" remote] ["[1]/[0]" origin]] ["[1][0]" metadata ["[1]/[0]" artifact] ["[1]/[0]" snapshot]] - ["[1][0]" artifact {"+" [Artifact]} - ["[1]/[0]" extension {"+" [Extension]}] + ["[1][0]" artifact {"+" Artifact} + ["[1]/[0]" extension {"+" Extension}] ["[1]/[0]" type]]]]) (def: .public success diff --git a/stdlib/source/program/aedifex/command/deps.lux b/stdlib/source/program/aedifex/command/deps.lux index 50df346db..654f00156 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 {"+" do}]] [control ["[0]" exception] [concurrency - ["[0]" async {"+" [Async]}]]] + ["[0]" async {"+" Async}]]] [data [collection - ["[0]" set {"+" [Set]}] + ["[0]" set {"+" Set}] ["[0]" list ("[1]#[0]" mix)] ["[0]" dictionary]] [text ["%" format]]] [world - [net {"+" [URL]}] - [program {"+" [Program]}] + [net {"+" URL}] + [program {"+" Program}] ["[0]" file] - ["[0]" console {"+" [Console]}]]]] + ["[0]" console {"+" Console}]]]] ["[0]" // "_" ["[1][0]" clean] ["/[1]" // "_" - [command {"+" [Command]}] - [repository {"+" [Repository]}] + [command {"+" Command}] + [repository {"+" Repository}] ["[1]" profile] - ["[1][0]" action {"+" [Action]}] - ["[1][0]" artifact {"+" [Artifact]}] - ["[1][0]" dependency {"+" [Dependency]} - ["[1]/[0]" resolution {"+" [Resolution]}] + ["[1][0]" action {"+" Action}] + ["[1][0]" artifact {"+" Artifact}] + ["[1][0]" dependency {"+" Dependency} + ["[1]/[0]" resolution {"+" 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 d89773504..3436adf17 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 {"+" do}]] [control - ["[0]" try {"+" [Try]}] + ["[0]" try {"+" Try}] ["[0]" exception] [concurrency - ["[0]" async {"+" [Async]}]]] + ["[0]" async {"+" Async}]]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] [text [encoding ["[0]" utf8]]] @@ -20,27 +20,27 @@ ["[0]" tar] ["[0]" xml]]] [world - [program {"+" [Program]}] + [program {"+" Program}] ["[0]" file] - ["[0]" console {"+" [Console]}]]]] + ["[0]" console {"+" Console}]]]] [program [compositor ["[0]" export]]] ["[0]" // "_" ["[1][0]" clean] ["/[1]" // "_" - ["/" profile {"+" [Profile]}] - ["[1][0]" action {"+" [Action]}] - ["[1][0]" command {"+" [Command]}] + ["/" profile {"+" Profile}] + ["[1][0]" action {"+" Action}] + ["[1][0]" command {"+" Command}] ["[1][0]" local] ["[1][0]" pom] ["[1][0]" package] - [repository {"+" [Repository]} + [repository {"+" Repository} ["[1][0]" origin]] ["[1][0]" dependency "_" ["[1]/[0]" deployment] ["[1]/[0]" status]] - ["[1][0]" artifact {"+" [Artifact]} + ["[1][0]" artifact {"+" 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 f4eee1c2b..56e19488a 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 {"+" do}]] [control ["[0]" try ("[1]#[0]" functor)] [concurrency - ["[0]" async {"+" [Async]} ("[1]#[0]" monad)]]] + ["[0]" async {"+" Async} ("[1]#[0]" monad)]]] [data [text - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [format ["[0]" xml]]] [world ["[0]" file] - ["[0]" console {"+" [Console]}]]]] + ["[0]" console {"+" Console}]]]] ["[0]" /// "_" - [command {"+" [Command]}] + [command {"+" 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 d017dd228..dc4b7a7e4 100644 --- a/stdlib/source/program/aedifex/command/test.lux +++ b/stdlib/source/program/aedifex/command/test.lux @@ -1,28 +1,28 @@ (.module: [library - [lux {"-" [Name]} + [lux {"-" Name} [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control [concurrency - ["[0]" async {"+" [Async]} ("[1]#[0]" monad)]]] + ["[0]" async {"+" Async} ("[1]#[0]" monad)]]] [math [number ["i" int]]] [world - ["[0]" program {"+" [Program]}] + ["[0]" program {"+" Program}] ["[0]" file] - ["[0]" shell {"+" [Exit Shell]}] - ["[0]" console {"+" [Console]}]]]] + ["[0]" shell {"+" Exit Shell}] + ["[0]" console {"+" Console}]]]] ["[0]" // "_" ["[1][0]" build] ["/[1]" // "_" ["[1]" profile] ["[1][0]" action] - ["[1][0]" command {"+" [Command]}] + ["[1][0]" command {"+" Command}] ["[1][0]" runtime] [dependency - [resolution {"+" [Resolution]}]]]]) + [resolution {"+" 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 11883dd86..9e01d2672 100644 --- a/stdlib/source/program/aedifex/command/version.lux +++ b/stdlib/source/program/aedifex/command/version.lux @@ -3,7 +3,7 @@ [lux "*" [control [concurrency - ["[0]" async {"+" [Async]}]]] + ["[0]" async {"+" Async}]]] [tool [compiler ["[0]" version] @@ -11,9 +11,9 @@ ["[1]/[0]" lux "_" ["[1]" version]]]]] [world - ["[0]" console {"+" [Console]}]]]] + ["[0]" console {"+" Console}]]]] [/// - [command {"+" [Command]}]]) + [command {"+" Command}]]) (def: .public (do! console profile) (-> (Console Async) (Command Any)) |