Re: how to reason about two dimentional array(vector) like...

2009-02-04 Thread canadaduane
Wow, thanks wwmorgan! I too was struggling to have some semblance of intuition on the first form, but this one is much easier. Duane On Feb 4, 10:19 pm, wwmorgan wrote: > Here's what I came up with: is it any clearer? > > (def board >   (vec (for [i (range dim)] >             (vec (for [j (ran

Possible to create a much larger "world" than ants.clj?

2009-02-02 Thread canadaduane
I have a project where I would like to have a much larger world than the 80x80 world in Rich's ants.clj [1] demo. When I bring the world up past about 600x600, I get a java.lang.OutOfMemoryError. Is this expected? If so, is there another reasonable way to represent a large grid with concurrent