aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/command/clean.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/program/aedifex/command/clean.lux')
-rw-r--r--stdlib/source/program/aedifex/command/clean.lux18
1 files changed, 9 insertions, 9 deletions
diff --git a/stdlib/source/program/aedifex/command/clean.lux b/stdlib/source/program/aedifex/command/clean.lux
index d175ae291..bbdec8763 100644
--- a/stdlib/source/program/aedifex/command/clean.lux
+++ b/stdlib/source/program/aedifex/command/clean.lux
@@ -22,9 +22,9 @@
(-> (file.System Async) Path (Async (Try Any)))
(let [! ///action.monad]
(|> root
- (\ fs directory_files)
- (\ ! each (monad.each ! (\ fs delete)))
- (\ ! conjoint))))
+ (# fs directory_files)
+ (# ! each (monad.each ! (# fs delete)))
+ (# ! conjoint))))
(def: .public success
(-> ///.Target Text)
@@ -34,16 +34,16 @@
(-> (Console Async) (file.System Async) (Command Any))
(do [! async.monad]
[.let [target (value@ ///.#target profile)]
- ? (\ fs directory? target)
+ ? (# fs directory? target)
_ (let [! ///action.monad]
(if ?
(loop [root target]
(do !
[_ (..clean_files! fs root)
_ (|> root
- (\ fs sub_directories)
- (\ ! each (monad.each ! recur))
- (\ ! conjoint))]
- (\ fs delete root)))
- (\ ! in [])))]
+ (# fs sub_directories)
+ (# ! each (monad.each ! recur))
+ (# ! conjoint))]
+ (# fs delete root)))
+ (# ! in [])))]
(console.write_line (..success target) console)))