aboutsummaryrefslogtreecommitdiff
path: root/lux-python/source
diff options
context:
space:
mode:
authorEduardo Julian2021-08-13 04:18:57 -0400
committerEduardo Julian2021-08-13 04:18:57 -0400
commite53c1a090eb9cfac3cb23d10d981648d02518ed1 (patch)
tree6c92c186525b6e73032ebea68765b791bcc27516 /lux-python/source
parent17629d66062b88b040a2397032f6c08361a5f3a7 (diff)
Made program: specify its bindings the same way as syntax:.
Diffstat (limited to 'lux-python/source')
-rw-r--r--lux-python/source/program.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux
index 6ae2a4aa2..547a1cd24 100644
--- a/lux-python/source/program.lux
+++ b/lux-python/source/program.lux
@@ -230,7 +230,7 @@
(for {@.old
(as_is (def: (call_macro inputs lux macro)
(-> (List Code) Lux org/python/core/PyFunction (Try (Try [Lux (List Code)])))
- (:assume
+ (:expected
(do try.monad
[expansion (org/python/core/PyFunction::__call__ (|> (ffi.array org/python/core/PyObject 2)
(ffi.array_write 0 (..to_host inputs))
@@ -445,7 +445,7 @@
@.python
(def: (extender phase_wrapper handler)
(-> platform.Phase_Wrapper Extender)
- (:assume handler))})
+ (:expected handler))})
(def: (phase_wrapper archive)
(-> Archive (runtime.Operation platform.Phase_Wrapper))
@@ -495,7 +495,7 @@
(; (_.apply/* @program (list)))
))))
-(program: [{service /cli.service}]
+(program: [service /cli.service]
(let [extension ".py"]
(exec (do async.monad
[_ (/.compiler {#/static.host @.python