Aaron Feng on 7 Feb 2010 20:49:08 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Game of life


Hi Sean,

> 1.  Is laziness breaking your call do take?  Do you need to wrap it in
> a doall?

I don't think that's the problem, I tried doall.  It didn't make any
difference.  The output seems to be different when I do
(take 5 (iterate run board)) vs (run (run (run (run board))))

> 2.  After I slept on it, I came to prefer the agent approach to the
> iterate.  The iterate is good for prototyping, but the agent will be
> better for production because of this exact list issue you're seeing.

True, I'll eventually make an agent version too.

Thanks,

Aaron