aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/platform/compiler/default/platform.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/platform/compiler/default/platform.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/platform/compiler/default/platform.lux b/stdlib/source/lux/platform/compiler/default/platform.lux
index 10dfd6ebb..7e3846c09 100644
--- a/stdlib/source/lux/platform/compiler/default/platform.lux
+++ b/stdlib/source/lux/platform/compiler/default/platform.lux
@@ -28,7 +28,7 @@
## (def: (write-module target-dir file-name module-name module outputs)
## (-> File Text Text Module Outputs (Process Any))
-## (do io.Monad<Process>
+## (do (error.with-error io.monad)
## [_ (monad.map @ (product.uncurry (&io.write target-dir))
## (dictionary.entries outputs))]
## (&io.write target-dir
@@ -48,7 +48,7 @@
(phase.run' (init.state (get@ #host platform)
(get@ #phase platform)
translation-bundle))
- (:: error.Functor<Error> map product.left)
+ (:: error.functor map product.left)
(:: (get@ #file-system platform) lift))
## (case (runtimeT.translate ## (initL.compiler (io.run js.init))