aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/project.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-08-24 05:23:45 -0400
committerEduardo Julian2021-08-24 05:23:45 -0400
commit36303d6cb2ce3ab9e36d045b9516c997bd461862 (patch)
treeb9d2f1495143054d61d9af129f36833624db9dac /stdlib/source/program/aedifex/project.lux
parentec1f31b5a1492d5e0ab260397291d4449483bbd9 (diff)
Outsourced the syntax for labelled type definitions to macros.
Diffstat (limited to 'stdlib/source/program/aedifex/project.lux')
-rw-r--r--stdlib/source/program/aedifex/project.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/program/aedifex/project.lux b/stdlib/source/program/aedifex/project.lux
index 687fd215b..4f6da6d62 100644
--- a/stdlib/source/program/aedifex/project.lux
+++ b/stdlib/source/program/aedifex/project.lux
@@ -38,8 +38,8 @@
(def: identity
(dictionary.empty text.hash))
- (def: compose
- (dictionary.merged_with (\ //.monoid compose))))
+ (def: composite
+ (dictionary.merged_with (\ //.monoid composite))))
(exception: .public (unknown_profile {name Name})
(exception.report
@@ -61,10 +61,10 @@
#.None
(do {! try.monad}
- [parents (monad.map ! (profile' (set.has name lineage) project)
- (value@ #//.parents profile))]
+ [parents (monad.each ! (profile' (set.has name lineage) project)
+ (value@ #//.parents profile))]
(in (list\mix (function (_ parent child)
- (\ //.monoid compose child parent))
+ (\ //.monoid composite child parent))
(with@ #//.parents (list) profile)
parents))))