aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/parser.lux
diff options
context:
space:
mode:
authorEduardo Julian2020-10-31 02:59:48 -0400
committerEduardo Julian2020-10-31 02:59:48 -0400
commiteea741e9b4a47ae09832311d6d61f0bd6024f673 (patch)
tree9d503f609c322c235811856ffa05232991b9c653 /stdlib/source/program/aedifex/parser.lux
parentcb8f2b36352948108446c7e3b270faa97589bf7a (diff)
Easy to use Rev constants.
Diffstat (limited to 'stdlib/source/program/aedifex/parser.lux')
-rw-r--r--stdlib/source/program/aedifex/parser.lux28
1 files changed, 14 insertions, 14 deletions
diff --git a/stdlib/source/program/aedifex/parser.lux b/stdlib/source/program/aedifex/parser.lux
index 867b3b81f..4fa6612c0 100644
--- a/stdlib/source/program/aedifex/parser.lux
+++ b/stdlib/source/program/aedifex/parser.lux
@@ -77,8 +77,8 @@
(def: license
(Parser /.License)
- (do {@ <>.monad}
- [input (:: @ map
+ (do {! <>.monad}
+ [input (:: ! map
(dictionary.from-list text.hash)
(<c>.record (<>.some (<>.and <c>.local-tag
<c>.any))))]
@@ -92,8 +92,8 @@
(def: organization
(Parser /.Organization)
- (do {@ <>.monad}
- [input (:: @ map
+ (do {! <>.monad}
+ [input (:: ! map
(dictionary.from-list text.hash)
(<c>.record (<>.some (<>.and <c>.local-tag
<c>.any))))]
@@ -103,8 +103,8 @@
(def: developer
(Parser /.Developer)
- (do {@ <>.monad}
- [input (:: @ map
+ (do {! <>.monad}
+ [input (:: ! map
(dictionary.from-list text.hash)
(<c>.record (<>.some (<>.and <c>.local-tag
<c>.any))))]
@@ -120,8 +120,8 @@
(def: info
(Parser /.Info)
- (do {@ <>.monad}
- [input (:: @ map
+ (do {! <>.monad}
+ [input (:: ! map
(dictionary.from-list text.hash)
(<c>.record (<>.some (<>.and <c>.local-tag
<c>.any))))]
@@ -171,8 +171,8 @@
(def: profile
(Parser /.Profile)
- (do {@ <>.monad}
- [input (:: @ map
+ (do {! <>.monad}
+ [input (:: ! map
(dictionary.from-list text.hash)
(<c>.record (<>.some (<>.and <c>.local-tag
<c>.any))))
@@ -187,15 +187,15 @@
(..singular input "info" ..info)))
^repositories (: (Parser (Set //dependency.Repository))
(|> (..plural input "repositories" ..repository)
- (:: @ map (set.from-list text.hash))
+ (:: ! map (set.from-list text.hash))
(<>.default (set.new text.hash))))
^dependencies (: (Parser (Set //dependency.Dependency))
(|> (..plural input "dependencies" ..dependency)
- (:: @ map (set.from-list //dependency.hash))
+ (:: ! map (set.from-list //dependency.hash))
(<>.default (set.new //dependency.hash))))
^sources (: (Parser (Set /.Source))
(|> (..plural input "sources" ..source)
- (:: @ map (set.from-list text.hash))
+ (:: ! map (set.from-list text.hash))
(<>.default (set.from-list text.hash (list /.default-source)))))
^target (: (Parser (Maybe /.Target))
(<>.maybe
@@ -207,7 +207,7 @@
(<>.maybe
(..singular input "test" ..module)))
^deploy-repositories (: (Parser (Dictionary Text //dependency.Repository))
- (<| (:: @ map (dictionary.from-list text.hash))
+ (<| (:: ! map (dictionary.from-list text.hash))
(<>.default (list))
(..singular input "deploy-repositories" ..deploy-repository)))]]
($_ <>.and