aboutsummaryrefslogtreecommitdiff
path: root/lux-ruby
diff options
context:
space:
mode:
authorEduardo Julian2021-09-14 16:41:18 -0400
committerEduardo Julian2021-09-14 16:41:18 -0400
commitccfa75463cd7c702f41c3dae5cbdaeade7ba5c31 (patch)
treec47937a8f62a25ef945a876b3af76c5fca989db9 /lux-ruby
parentea15b844b51ff60f9785c6791507f813729f85c3 (diff)
Re-named "recur" to "again".
Diffstat (limited to 'lux-ruby')
-rw-r--r--lux-ruby/source/program.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/lux-ruby/source/program.lux b/lux-ruby/source/program.lux
index 2b9831d04..5f308c0ca 100644
--- a/lux-ruby/source/program.lux
+++ b/lux-ruby/source/program.lux
@@ -240,7 +240,7 @@
(if (n.< size idx)
(case (org/jruby/RubyArray::get (.int idx) host_object)
{.#None}
- (recur (++ idx) output)
+ (again (++ idx) output)
{.#Some value}
(case (read value)
@@ -248,7 +248,7 @@
{try.#Failure error}
{try.#Success lux_value}
- (recur (++ idx) (array.write! idx lux_value output))))
+ (again (++ idx) (array.write! idx lux_value output))))
{try.#Success output}))))
(exception: (unknown_kind_of_object [object java/lang/Object])