From 98e824f59fbddac056afac108ee5b5fc2c7b8963 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Sun, 15 Nov 2020 19:27:07 +0300 Subject: fix(core): fix seq function not handling tables with number keys --- cljlib.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cljlib.fnl') diff --git a/cljlib.fnl b/cljlib.fnl index 98bb98e..d96d8da 100644 --- a/cljlib.fnl +++ b/cljlib.fnl @@ -273,7 +273,7 @@ Additionally you can use [`conj`](#conj) and [`apply`](#apply) with (let [assoc-res (empty [])] (each [k v (pairs col)] (if (and (not assoc?) - (not (= (type k) :number))) + (map? col)) (set assoc? true)) (insert res v) (insert assoc-res [k v])) -- cgit v1.2.3