summaryrefslogtreecommitdiff
path: root/init.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'init.fnl')
-rw-r--r--init.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.fnl b/init.fnl
index 1b84cda..7522005 100644
--- a/init.fnl
+++ b/init.fnl
@@ -549,7 +549,7 @@ See `hash-map' for creating empty associative tables."
(let [tbl (or tbl (empty []))]
(if (map? tbl)
(tset tbl (. x 1) (. x 2))
- (insert tbl x))))
+ (tset tbl (+ 1 (length tbl)) x))))
tbl)
([tbl x & xs]
(apply conj (conj tbl x) xs)))