The second entry should say Entering (+ 3 9), just like the trace-less version above.
We have Entering lines but not Leaving lines, despite the fact that the + function is called as part of the reduce function does not contain any recursion.
We get stuck at the (+ 0 1) case forever.
Even though I haven't confirmed it, I suspect this is another re-occurrence of #273. Somehow.
I haven't been able to find the root cause here, but I can show the symptom pretty well. The following works as intended:
Pretty cool, eh?
And then the following doesn't:
Gives the following output:
I see three things that are wrong, offhand:
Entering (+ 3 9)
, just like thetrace
-less version above.Entering
lines but notLeaving
lines, despite the fact that the+
function is called as part of thereduce
function does not contain any recursion.(+ 0 1)
case forever.Even though I haven't confirmed it, I suspect this is another re-occurrence of #273. Somehow.