Made the 'descend' mode work more than one iteration deep.
This commit is contained in:
parent
5d32d5288a
commit
514f9b0d37
|
@ -55,7 +55,7 @@ _annotate = (ConsList) ->
|
||||||
# have to be intercepted first. The use of duck-typing here is
|
# have to be intercepted first. The use of duck-typing here is
|
||||||
# frustrating.
|
# frustrating.
|
||||||
item = if pairp(v[p]) then v[p] else
|
item = if pairp(v[p]) then v[p] else
|
||||||
if (d and vectorp(v[p])) then vectorToList(v[p]) else v[p]
|
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))
|
||||||
|
|
||||||
list = (v...) ->
|
list = (v...) ->
|
||||||
|
|
Loading…
Reference in New Issue