aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/compositor
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/program/compositor.lux16
-rw-r--r--stdlib/source/program/compositor/export.lux10
-rw-r--r--stdlib/source/program/compositor/import.lux4
3 files changed, 15 insertions, 15 deletions
diff --git a/stdlib/source/program/compositor.lux b/stdlib/source/program/compositor.lux
index 225d01362..bd5c10c66 100644
--- a/stdlib/source/program/compositor.lux
+++ b/stdlib/source/program/compositor.lux
@@ -82,12 +82,12 @@
monad}
{(! (Try (File !)))
(:assume (file.get-file monad file-system package))})]
- (!.use (:: (:share [!]
- {(Monad !)
- monad}
- {(File !)
- (:assume package)})
- over-write)
+ (!.use (\ (:share [!]
+ {(Monad !)
+ monad}
+ {(File !)
+ (:assume package)})
+ over-write)
[content]))}
## TODO: Fix whatever type-checker bug is forcing me into this compromise...
(:assume
@@ -99,7 +99,7 @@
[content (packager monad file-system static archive context)
package (: (Promise (Try (File Promise)))
(file.get-file monad file-system package))]
- (!.use (:: (: (File Promise) package) over-write) [content])))))))
+ (!.use (\ (: (File Promise) package) over-write) [content])))))))
(with-expansions [<parameters> (as-is anchor expression artifact)]
(def: #export (compiler static
@@ -158,6 +158,6 @@
## (do {! promise.monad}
## [console (|> console.default
## promise.future
- ## (:: ! map (|>> try.assume console.async)))]
+ ## (\ ! map (|>> try.assume console.async)))]
## (interpreter.run (try.with promise.monad) console platform interpretation generation-bundle)))
))))
diff --git a/stdlib/source/program/compositor/export.lux b/stdlib/source/program/compositor/export.lux
index b1e525098..bc2ced5a3 100644
--- a/stdlib/source/program/compositor/export.lux
+++ b/stdlib/source/program/compositor/export.lux
@@ -49,7 +49,7 @@
(function (_ [path source-code])
(do try.monad
[path (|> path
- (text.replace-all (:: system separator) .module-separator)
+ (text.replace-all (\ system separator) .module-separator)
tar.path)
source-code (tar.content source-code)]
(wrap (#tar.Normal [path
@@ -57,8 +57,8 @@
tar.none
..no-ownership
source-code])))))
- (:: try.monad map row.from-list)
- (:: promise.monad wrap))))
+ (\ try.monad map row.from-list)
+ (\ promise.monad wrap))))
(def: #export (export system [sources target])
(-> (file.System Promise) Export (Promise (Try Any)))
@@ -66,7 +66,7 @@
[tar (..library system sources)
package (: (Promise (Try (file.File Promise)))
(file.get-file promise.monad system
- (format target (:: system separator) ..file)))]
+ (format target (\ system separator) ..file)))]
(|> tar
(binary.run tar.writer)
- (!.use (:: package over-write)))))
+ (!.use (\ package over-write)))))
diff --git a/stdlib/source/program/compositor/import.lux b/stdlib/source/program/compositor/import.lux
index 0f2d00905..318c3705c 100644
--- a/stdlib/source/program/compositor/import.lux
+++ b/stdlib/source/program/compositor/import.lux
@@ -36,8 +36,8 @@
(-> (file.System Promise) Library Import (Action Import))
(do (try.with promise.monad)
[library (: (Action (File Promise))
- (!.use (:: system file) [library]))
- binary (!.use (:: library content) [])]
+ (!.use (\ system file) [library]))
+ binary (!.use (\ library content) [])]
(promise\wrap
(do {! try.monad}
[tar (<b>.run tar.parser binary)]