aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/compiler/default.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/compiler/default.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/lux/compiler/default.lux b/stdlib/source/lux/compiler/default.lux
index c85df80c1..e53e08142 100644
--- a/stdlib/source/lux/compiler/default.lux
+++ b/stdlib/source/lux/compiler/default.lux
@@ -91,11 +91,11 @@
_ (analysis.set-current-module module-name)]
(analysis.set-source-code (init.source (get@ #name source) (get@ #code source))))))
- (def: (end-module-compilation module-name)
+ (def: end-module-compilation
(All [anchor expression statement]
(-> Text <Operation>))
- (statement.lift-analysis!
- (module.set-compiled module-name)))
+ (|>> module.set-compiled
+ statement.lift-analysis!))
(def: (loop-module-compilation module-name)
(All [anchor expression statement]
@@ -184,6 +184,6 @@
_ (compile-module platform configuration ..prelude compiler)
_ (compile-module platform configuration program compiler)
## _ (cache/io.clean target ...)
- #let [_ (log! "Compilation complete!")]]
- (wrap [])))
+ ]
+ (wrap (log! "Compilation complete!"))))
)