On Apr 10, 2013, at 21:46 , Ulises <ulises.cerv...@gmail.com> wrote: > Have you tried replacing all your calls to map for pmap yet?
That will not work. He'll need to rearrange his algorithm to something like this before pmap will help: (defn iterated-difference [f a b] "Yields a lazy seq of the differences between (iterate f a) and (iterate f b)." (cons (doto (double (- b a)) println) (lazy-seq (apply iterated-difference f (pmap f [a b]))))) Might need to wrap this in a (doall …) or such to see progressive output from the println. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.