> It looks to me like you are blowing the stack. You may want to rethink
> your commute-cells function so that it either uses the 'recur'
> operator and is tail recursive, or uses a trampoline of some sort.
When you blow the stack, you'll get an exception saying so, and it
usually happens pretty
On Jul 20, 1:27 am, kyle smith wrote:
> I'm trying to use Stuart Sierra's implementation of cells. I want to
> sum the values of a large number of cells. Rather than linearly
> summing all the values, I would like to create a tree of cells whose
> root contains the sum. I added the function
I'm trying to use Stuart Sierra's implementation of cells. I want to
sum the values of a large number of cells. Rather than linearly
summing all the values, I would like to create a tree of cells whose
root contains the sum. I added the function commute-cells:
(defn commute-cells [f cells]
(