aboutsummaryrefslogtreecommitdiff
path: root/lux-python/source/program.lux
diff options
context:
space:
mode:
Diffstat (limited to 'lux-python/source/program.lux')
-rw-r--r--lux-python/source/program.lux16
1 files changed, 8 insertions, 8 deletions
diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux
index cc7ef2162..feddcf1dd 100644
--- a/lux-python/source/program.lux
+++ b/lux-python/source/program.lux
@@ -540,13 +540,13 @@
(all _.then
(_.import "sys")
(_.when (_.= (_.string "__main__") (_.var "__name__"))
- (_.statement (_.apply/* (list (|> (_.var "sys") (_.the "argv")
- ... The first entry in the list will be the program.py file itself
- ... so, it must be removed so only the program's arguments are left.
- (_.slice_from (_.int +1))
- runtime.lux::program_args)
- _.none)
- program)))))
+ (_.statement (_.apply (list (|> (_.var "sys") (_.the "argv")
+ ... The first entry in the list will be the program.py file itself
+ ... so, it must be removed so only the program's arguments are left.
+ (_.slice_from (_.int +1))
+ runtime.lux::program_args)
+ _.none)
+ program)))))
(def: (declare_success! _)
(-> Any (Async Any))
@@ -566,7 +566,7 @@
(; (_.do "setrecursionlimit" (list new_limit) $sys))
... (; (_.do "stack_size" (list current_limit) $threading))
(_.def @program (list) body)
- (; (_.apply/* (list) @program))
+ (; (_.apply (list) @program))
))))
(def: (lux_compiler it)