From 8bee006dddbea6493f648735aece829a7fc5df31 Mon Sep 17 00:00:00 2001 From: "Elf M. Sternberg" Date: Mon, 2 May 2016 21:28:02 -0700 Subject: [PATCH] Made the 'descend' mode work more than one iteration deep, for real this time. --- src/lists.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lists.coffee b/src/lists.coffee index dd892a0..aa2585b 100644 --- a/src/lists.coffee +++ b/src/lists.coffee @@ -56,7 +56,7 @@ _annotate = (ConsList) -> # frustrating. item = if pairp(v[p]) then v[p] else if (d and vectorp(v[p])) then vectorToList(v[p], 0, d) else v[p] - cons(item, vectorToList(v, p + 1)) + cons(item, vectorToList(v, p + 1, d)) list = (v...) -> ln = v.length