fix #174
This commit is contained in:
parent
5201063d69
commit
e404aa7c2e
1 changed files with 3 additions and 1 deletions
|
@ -146,7 +146,9 @@ sealed interface ContinuationFrame {
|
||||||
|
|
||||||
// If we still have data to process...
|
// If we still have data to process...
|
||||||
val (stackTop, newCont) = if (data.nonEmpty) {
|
val (stackTop, newCont) = if (data.nonEmpty) {
|
||||||
// Push the next datum to the top of the stack,
|
// Increment the evaluation depth,
|
||||||
|
harness.ctx.incDepth()
|
||||||
|
// push the next datum to the top of the stack,
|
||||||
data.car to continuation
|
data.car to continuation
|
||||||
// put the next Thoth object back on the stack for the next Thoth cycle,
|
// put the next Thoth object back on the stack for the next Thoth cycle,
|
||||||
.pushFrame(ForEach(data.cdr, code, stack, acc))
|
.pushFrame(ForEach(data.cdr, code, stack, acc))
|
||||||
|
|
Loading…
Reference in a new issue