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/dependency | |
parent | 2dbbaaec93a53f8dd0b96a0028b9cf125c9066cd (diff) |
Updated only/except import syntax to take into account record => variant syntax change.
Diffstat (limited to '')
4 files changed, 52 insertions, 52 deletions
diff --git a/stdlib/source/program/aedifex/dependency.lux b/stdlib/source/program/aedifex/dependency.lux index 451accd25..318152c5c 100644 --- a/stdlib/source/program/aedifex/dependency.lux +++ b/stdlib/source/program/aedifex/dependency.lux @@ -1,17 +1,17 @@ (.module: [library - [lux {"-" [Type]} + [lux {"-" Type} [abstract - [equivalence {"+" [Equivalence]}] - [order {"+" [Order]}] - [hash {"+" [Hash]}]] + [equivalence {"+" Equivalence}] + [order {"+" Order}] + [hash {"+" Hash}]] [data ["[0]" product] ["[0]" text ("[1]#[0]" order) - ["%" format {"+" [format]}]]]]] + ["%" format {"+" format}]]]]] ["[0]" // "_" - ["[1]" artifact {"+" [Artifact]} ("[1]#[0]" order) - [type {"+" [Type]}]]]) + ["[1]" artifact {"+" Artifact} ("[1]#[0]" order) + [type {"+" Type}]]]) (type: .public Dependency (Record diff --git a/stdlib/source/program/aedifex/dependency/deployment.lux b/stdlib/source/program/aedifex/dependency/deployment.lux index 843b24917..29f49b61a 100644 --- a/stdlib/source/program/aedifex/dependency/deployment.lux +++ b/stdlib/source/program/aedifex/dependency/deployment.lux @@ -2,43 +2,43 @@ [library [lux "*" [abstract - [codec {"+" [Codec]}] - ["[0]" monad {"+" [do]}]] + [codec {"+" Codec}] + ["[0]" monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] + ["[0]" try {"+" Try}] [concurrency - ["[0]" async {"+" [Async]}]]] + ["[0]" async {"+" Async}]]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] ["[0]" product] [text - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection ["[0]" dictionary] - ["[0]" set {"+" [Set]}] + ["[0]" set {"+" Set}] ["[0]" list ("[1]#[0]" monoid)]]] [time - ["[0]" instant {"+" [Instant]}]]]] + ["[0]" instant {"+" Instant}]]]] ["[0]" /// "_" - [repository {"+" [Repository]}] - ["[1][0]" hash {"+" [Hash]}] - ["[1][0]" package {"+" [Package]}] - ["[1][0]" artifact {"+" [Artifact]} + [repository {"+" Repository}] + ["[1][0]" hash {"+" Hash}] + ["[1][0]" package {"+" Package}] + ["[1][0]" artifact {"+" Artifact} ["[1]/[0]" time] ["[1]/[0]" type] - ["[1]/[0]" extension {"+" [Extension]}] + ["[1]/[0]" extension {"+" Extension}] ["[1]/[0]" versioning] ["[1]/[0]" snapshot ["[1]/[0]" version ["[1]/[0]" value]]]] ["[1][0]" metadata "_" ["[1]/[0]" artifact] - ["[1]/[0]" snapshot {"+" [Metadata]}]] - ["[1][0]" dependency {"+" [Dependency]} - [resolution {"+" [Resolution]}] - ["[1]/[0]" status {"+" [Status]}]]]) + ["[1]/[0]" snapshot {"+" Metadata}]] + ["[1][0]" dependency {"+" Dependency} + [resolution {"+" Resolution}] + ["[1]/[0]" status {"+" Status}]]]) (def: (with_status repository version_template [artifact type] [data status]) (-> (Repository Async) ///artifact.Version Dependency [Binary Status] (Async (Try Any))) diff --git a/stdlib/source/program/aedifex/dependency/resolution.lux b/stdlib/source/program/aedifex/dependency/resolution.lux index c5cdce6b8..7f5c2ecca 100644 --- a/stdlib/source/program/aedifex/dependency/resolution.lux +++ b/stdlib/source/program/aedifex/dependency/resolution.lux @@ -1,33 +1,33 @@ (.module: [library - [lux {"-" [Name]} + [lux {"-" Name} ["@" target] ["[0]" debug] - ["[0]" ffi {"+" [import:]}] + ["[0]" ffi {"+" import:}] [abstract - [codec {"+" [Codec]}] - [equivalence {"+" [Equivalence]}] - [monad {"+" [do]}] - ["[0]" predicate {"+" [Predicate]}]] + [codec {"+" Codec}] + [equivalence {"+" Equivalence}] + [monad {"+" do}] + ["[0]" predicate {"+" Predicate}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]} ("[1]#[0]" functor)] - ["[0]" exception {"+" [Exception exception:]}] + ["[0]" try {"+" Try} ("[1]#[0]" functor)] + ["[0]" exception {"+" Exception exception:}] ["<>" parser - ["<[0]>" xml {"+" [Parser]}]] + ["<[0]>" xml {"+" Parser}]] [concurrency - ["[0]" async {"+" [Async]}]]] + ["[0]" async {"+" Async}]]] [data - ["[0]" binary {"+" [Binary]}] + ["[0]" binary {"+" Binary}] ["[0]" name] ["[0]" text - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [format - ["[0]" xml {"+" [Tag XML]}]] + ["[0]" xml {"+" Tag XML}]] [collection - ["[0]" dictionary {"+" [Dictionary]}] + ["[0]" dictionary {"+" Dictionary}] ["[0]" set] ["[0]" list ("[1]#[0]" functor monoid)]]] [math @@ -35,27 +35,27 @@ ["n" nat] ["[0]" i64]]] [world - [console {"+" [Console]}] - [net {"+" [URL]} + [console {"+" Console}] + [net {"+" URL} ["[0]" uri] ["[0]" http "_" ["[1]" client]]]]]] - ["[0]" // {"+" [Dependency]} - ["[1][0]" status {"+" [Status]}] + ["[0]" // {"+" Dependency} + ["[1][0]" status {"+" Status}] ["/[1]" // "_" ["/" profile] - ["[1][0]" hash {"+" [Hash SHA-1 MD5]}] + ["[1][0]" hash {"+" Hash SHA-1 MD5}] ["[1][0]" pom] - ["[1][0]" package {"+" [Package]}] - ["[1][0]" artifact {"+" [Version Artifact]} - ["[1]/[0]" extension {"+" [Extension]}] + ["[1][0]" package {"+" Package}] + ["[1][0]" artifact {"+" Version Artifact} + ["[1]/[0]" extension {"+" Extension}] ["[1]/[0]" versioning] ["[0]" snapshot [version ["[0]" value]]]] - ["[1][0]" repository {"+" [Repository]} - ["[1]/[0]" remote {"+" [Address]}] - ["[1]/[0]" origin {"+" [Origin]}]] + ["[1][0]" repository {"+" Repository} + ["[1]/[0]" remote {"+" Address}] + ["[1]/[0]" origin {"+" Origin}]] ["[1][0]" metadata ["[1]/[0]" snapshot]]]]) diff --git a/stdlib/source/program/aedifex/dependency/status.lux b/stdlib/source/program/aedifex/dependency/status.lux index 0be99a0fe..6942fb75b 100644 --- a/stdlib/source/program/aedifex/dependency/status.lux +++ b/stdlib/source/program/aedifex/dependency/status.lux @@ -2,13 +2,13 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] ["[0]" sum] ["[0]" product]]]] ["[0]" /// "_" - ["[1][0]" hash {"+" [Hash SHA-1 MD5]}]]) + ["[1][0]" hash {"+" Hash SHA-1 MD5}]]) (type: .public Status (Variant |