aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/metadata
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/program/aedifex/metadata')
-rw-r--r--stdlib/source/program/aedifex/metadata/artifact.lux16
-rw-r--r--stdlib/source/program/aedifex/metadata/snapshot.lux16
2 files changed, 16 insertions, 16 deletions
diff --git a/stdlib/source/program/aedifex/metadata/artifact.lux b/stdlib/source/program/aedifex/metadata/artifact.lux
index ad0477dcc..2bae67087 100644
--- a/stdlib/source/program/aedifex/metadata/artifact.lux
+++ b/stdlib/source/program/aedifex/metadata/artifact.lux
@@ -21,7 +21,7 @@
[format
["[0]" xml {"+" [XML]}]]
[collection
- ["[0]" list ("[1]\[0]" functor)]]]
+ ["[0]" list ("[1]#[0]" functor)]]]
[math
[number
["n" nat]]]
@@ -94,7 +94,7 @@
(def: versions_format
(-> (List Version) XML)
- (|>> (list\each ..version_format) {xml.#Node ..<versions> xml.attributes}))
+ (|>> (list#each ..version_format) {xml.#Node ..<versions> xml.attributes}))
(def: .public (format value)
(-> Metadata XML)
@@ -176,13 +176,13 @@
(def: .public (read repository artifact)
(-> (Repository Async) Artifact (Async (Try Metadata)))
(do async.monad
- [project (\ repository download (..uri artifact))]
+ [project (# repository download (..uri artifact))]
(case project
{try.#Success project}
(in (|> project
(do> try.monad
- [(\ utf8.codec decoded)]
- [(\ xml.codec decoded)]
+ [(# utf8.codec decoded)]
+ [(# xml.codec decoded)]
[list (<xml>.result ..parser)])))
{try.#Failure error}
@@ -197,6 +197,6 @@
(-> (Repository Async) Artifact Metadata (Async (Try Any)))
(|> metadata
..format
- (\ xml.codec encoded)
- (\ utf8.codec encoded)
- (\ repository upload (..uri artifact))))
+ (# xml.codec encoded)
+ (# utf8.codec encoded)
+ (# repository upload (..uri artifact))))
diff --git a/stdlib/source/program/aedifex/metadata/snapshot.lux b/stdlib/source/program/aedifex/metadata/snapshot.lux
index c840fc870..982d15556 100644
--- a/stdlib/source/program/aedifex/metadata/snapshot.lux
+++ b/stdlib/source/program/aedifex/metadata/snapshot.lux
@@ -22,7 +22,7 @@
[format
["[0]" xml {"+" [XML]}]]
[collection
- ["[0]" list ("[1]\[0]" functor)]]]
+ ["[0]" list ("[1]#[0]" functor)]]]
[math
[number
["n" nat]]]
@@ -95,7 +95,7 @@
///artifact/snapshot/version.#value version
///artifact/snapshot/version.#updated ///artifact/time.epoch]]
(|> (<xml>.somewhere ///artifact/versioning.parser)
- (\ ! each
+ (# ! each
(revised@ ///artifact/versioning.#versions
(: (-> (List ///artifact/snapshot/version.Version)
(List ///artifact/snapshot/version.Version))
@@ -126,13 +126,13 @@
(def: .public (read repository artifact)
(-> (Repository Async) Artifact (Async (Try Metadata)))
(do async.monad
- [project (\ repository download (..uri artifact))]
+ [project (# repository download (..uri artifact))]
(case project
{try.#Success project}
(in (|> project
(do> try.monad
- [(\ utf8.codec decoded)]
- [(\ xml.codec decoded)]
+ [(# utf8.codec decoded)]
+ [(# xml.codec decoded)]
[list (<xml>.result ..parser)])))
{try.#Failure error}
@@ -144,6 +144,6 @@
(-> (Repository Async) Artifact Metadata (Async (Try Any)))
(|> metadata
..format
- (\ xml.codec encoded)
- (\ utf8.codec encoded)
- (\ repository upload (..uri artifact))))
+ (# xml.codec encoded)
+ (# utf8.codec encoded)
+ (# repository upload (..uri artifact))))