aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux')
-rw-r--r--stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux b/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux
index f888e6975..c1fdd9d5d 100644
--- a/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux
+++ b/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux
@@ -57,12 +57,12 @@
(def: bundle_module
(-> Output (Try _.Expression))
(|>> row.list
- (list\map product.right)
+ (list\each product.right)
(monad.mix try.monad
(function (_ content so_far)
(|> content
(\ encoding.utf8 decoded)
- (\ try.monad map
+ (\ try.monad each
(|>> :expected
(:sharing [directive]
directive
@@ -107,7 +107,7 @@
(value@ #descriptor.references)
set.list
(list.all (function (_ module) (dictionary.value module mapping)))
- (list\map (|>> ..module_file _.string _.load_relative/1))
+ (list\each (|>> ..module_file _.string _.load_relative/1))
(list\mix ..then bundle)
(: _.Expression)
_.code
@@ -122,11 +122,11 @@
(do {! try.monad}
[order (dependency.load_order $.key archive)
.let [mapping (|> order
- (list\map (function (_ [module [module_id [descriptor document output]]])
- [module module_id]))
+ (list\each (function (_ [module [module_id [descriptor document output]]])
+ [module module_id]))
(dictionary.of_list text.hash)
(: (Dictionary Module archive.ID)))]
- entries (monad.map ! (..write_module now mapping) order)]
+ entries (monad.each ! (..write_module now mapping) order)]
(in (|> entries
row.of_list
(binary.result tar.writer))))))