aboutsummaryrefslogtreecommitdiff
path: root/lux-r/source/program.lux
diff options
context:
space:
mode:
Diffstat (limited to 'lux-r/source/program.lux')
-rw-r--r--lux-r/source/program.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/lux-r/source/program.lux b/lux-r/source/program.lux
index 873d41a5e..2f477efcb 100644
--- a/lux-r/source/program.lux
+++ b/lux-r/source/program.lux
@@ -591,10 +591,10 @@
(def: (scope body)
(-> _.Expression _.Expression)
(let [$program (_.var "lux_program")]
- ($_ _.then
- (_.set! $program (_.function (list) body))
- (_.apply/0 $program [])
- )))
+ (all _.then
+ (_.set! $program (_.function (list) body))
+ (_.apply/0 $program [])
+ )))
(`` (program: [service /cli.service]
(let [extension ".r"]