aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/compositor.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-12-02 19:33:00 -0400
committerEduardo Julian2022-12-02 19:33:00 -0400
commit94e5802f594a73245fce0fbd885103b8bf210d57 (patch)
tree65e5799c0be40f5f015b39bfa6c87c9c27fd9424 /stdlib/source/program/compositor.lux
parentb491dfff00219d5206075ea65468e00ab657075d (diff)
Added some simple time-series handling machinery.
Diffstat (limited to 'stdlib/source/program/compositor.lux')
-rw-r--r--stdlib/source/program/compositor.lux14
1 files changed, 7 insertions, 7 deletions
diff --git a/stdlib/source/program/compositor.lux b/stdlib/source/program/compositor.lux
index 873c4c08d..93126b8d8 100644
--- a/stdlib/source/program/compositor.lux
+++ b/stdlib/source/program/compositor.lux
@@ -80,7 +80,7 @@
(console.write_line report console)))
(is (Async (Try Any))
<else>)))]
- (io.run! (at world/environment.default exit +1))))
+ (io.run! (of world/environment.default exit +1))))
{try.#Success output}
(in output))))
@@ -103,18 +103,18 @@
{try.#Success content}
(when content
{.#Left content}
- (at fs write package content)
+ (of fs write package content)
{.#Right content}
(do [! (try.with async.monad)]
- [_ (at fs make_directory package)
+ [_ (of fs make_directory package)
_ (monad.each ! (function (_ [name content])
- (at fs write (file.rooted fs package name) content))
+ (of fs write (file.rooted fs package name) content))
content)]
(in [])))
{try.#Failure error}
- (at async.monad in {try.#Failure error})))
+ (of async.monad in {try.#Failure error})))
(def (load_host_dependencies fs host_dependencies)
(-> (file.System Async) (List file.Path) (Async (Try (Dictionary file.Path Binary))))
@@ -129,7 +129,7 @@
{.#Item head tail}
(do !
- [content (at fs read head)]
+ [content (of fs read head)]
(again tail
(dictionary.has head content output)))))))
@@ -224,6 +224,6 @@
... (do [! async.monad]
... [console (|> console.default
... async.future
- ... (at ! each (|>> try.trusted console.async)))]
+ ... (of ! each (|>> try.trusted console.async)))]
... (interpreter.run! (try.with async.monad) console platform interpretation translation_bundle)))
))))