> bigfun (comp retire-host slowdown-host infect-hosts naturalrecovery- > host pair-host) > proc1 (future (doseq [i (subvec world 0 2499)] (bigfun i))) > proc2 (future (doseq [i (subvec world 2500 4999)] (bigfun i))) > proc3 (future (doseq [i (subvec world 5000 7499)] (bigfun i))) > proc4 (future (doseq [i (subvec world 7500 9999)] (bigfun i)))] > (map deref (list proc1 proc2 proc3 proc4))))) >
there's a (let [ wrapped around the bigfun and procs that is missing in this paste. Anyway, I can send you the models so you can take a peek. Earlier versions (with different degrees of success of me trying to be concurrent) are already in the files section of this group (eden.clj and chlam.clj , I belief). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---