aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/regex.neb2
-rw-r--r--libs/sort.neb2
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/regex.neb b/libs/regex.neb
index af36830..33e2b55 100644
--- a/libs/regex.neb
+++ b/libs/regex.neb
@@ -44,7 +44,7 @@
(block
(def seed (list))
(for-count (length text)
- (redef seed (append seed idx)))
+ (redef seed (append seed _idx_)))
(not (empty? (drop-while seed
(not (.match-inner pattern (join (slice (split text) _item_) "")))))))))
diff --git a/libs/sort.neb b/libs/sort.neb
index 27779b1..c163730 100644
--- a/libs/sort.neb
+++ b/libs/sort.neb
@@ -194,7 +194,7 @@
(def b (rest lst))
(def acc (list))
(for-count (length a)
- (append acc idx))
+ (append acc _idx_))
(empty? (drop-while acc
(cmp
(slice a _item_ 1)