diff options
Diffstat (limited to 'lux-python/source')
-rw-r--r-- | lux-python/source/program.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux index 25a2131c5..d12ea355c 100644 --- a/lux-python/source/program.lux +++ b/lux-python/source/program.lux @@ -157,7 +157,7 @@ {try.#Success value} (case (read value) {try.#Success lux_value} - (again (++ idx) (array.write! idx lux_value output)) + (again (++ idx) (array.has! idx lux_value output)) failure failure) @@ -314,7 +314,7 @@ org/python/core/PyObject (case (|> it (as (Array Any)) - (array.read! (|> index' ffi.int_to_long (as Nat)))) + (array.item (|> index' ffi.int_to_long (as Nat)))) {.#None} (::super! [index']) |