aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-03-16 08:37:23 -0400
committerEduardo Julian2022-03-16 08:37:23 -0400
commitbf53ee92fc3c33a4885aa227e55d24f7ba3cb2c4 (patch)
tree49683a62ae8e110c62b42a9a6386bb2ddb3c47c6 /stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux
parentd710d9f4fc098e7c243c8a5f23cd42683f13e07f (diff)
De-sigil-ification: prefix :
Diffstat (limited to 'stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux')
-rw-r--r--stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux24
1 files changed, 12 insertions, 12 deletions
diff --git a/stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux b/stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux
index df7f11ce0..ed360caec 100644
--- a/stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux
+++ b/stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux
@@ -1,7 +1,7 @@
(.using
[library
[lux "*"
- [type {"+" :sharing}]
+ [type {"+" sharing}]
[abstract
["[0]" monad {"+" do}]]
[control
@@ -62,12 +62,12 @@
(|> content
(# utf8.codec decoded)
(# ! each
- (|>> :expected
- (:sharing [directive]
- directive
- so_far
-
- directive)
+ (|>> as_expected
+ (sharing [directive]
+ directive
+ so_far
+
+ directive)
(_.then so_far)))))
(_.comment "Lux module"
(_.statement (_.string "")))
@@ -84,8 +84,8 @@
(List [module.ID [Text Binary]])
(Try (List [module.ID [Text Binary]])))
(do [! try.monad]
- [bundle (: (Try (Maybe _.Statement))
- (..bundle_module module module_id necessary_dependencies (the archive.#output entry)))]
+ [bundle (is (Try (Maybe _.Statement))
+ (..bundle_module module module_id necessary_dependencies (the archive.#output entry)))]
(case bundle
{.#None}
(in sink)
@@ -93,7 +93,7 @@
{.#Some bundle}
(let [entry_content (|> (list)
(list#mix _.then bundle)
- (: _.Statement)
+ (is _.Statement)
_.code
(# utf8.codec encoded))]
(in (list& [module_id [(..module_file module_id) entry_content]]
@@ -127,11 +127,11 @@
(let [relative_path (_.do "gsub" (list (_.string main_file)
(_.string (..module_file module_id)))
{.#None}
- (: _.CVar (_.manual "__FILE__")))]
+ (is _.CVar (_.manual "__FILE__")))]
(_.statement (_.require/1 relative_path)))))
(list#mix _.then (_.comment "Lux program"
(_.statement (_.string ""))))
- (: _.Statement)
+ (is _.Statement)
_.code
(# utf8.codec encoded))]]
(in (|> entries