aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/debug.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/debug.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/debug.lux b/stdlib/source/library/lux/debug.lux
index 8183fb6ff..7a5a9a153 100644
--- a/stdlib/source/library/lux/debug.lux
+++ b/stdlib/source/library/lux/debug.lux
@@ -126,7 +126,7 @@
(let [member ("lua array read" idx tuple)]
(if ("lua object nil?" member)
#.End
- (#.Item member (recur (inc idx))))))))}
+ (#.Item member (recur (++ idx))))))))}
(as_is))
(def: (tuple_inspection inspection)
@@ -461,7 +461,7 @@
[lefts #1 (rightR right)]
_
- (recur (inc lefts) (#.Item rightR extraR+) right)))
+ (recur (++ lefts) (#.Item rightR extraR+) right)))
_
(undefined)))]
@@ -601,7 +601,7 @@
[location meta.location
locals meta.locals
.let [environment (|> locals
- list.joined
+ list.together
... The list is reversed to make sure that, when building the dictionary,
... later bindings overshadow earlier ones if they have the same name.
list.reversed