> just reading through the book (http://pragprog.com/titles/shcloj/ > programming-clojure) and having a lot of of fun learning. I was > wondering if there are any examples out there like Dave Thomas' > > A First Erlang Program > http://pragdave.pragprog.com/pragdave/2007/04/a_first_erlang_.html > > in Clojure. What I want to do is just read in a csv with a couple of > hundred URLs and spider those in parallel (!) and save the results > back to another file. The way I like to learn best is to find > something and mold it to my needs. I tried searching, but couldn't > find anything useful with "spider clojure". Since clojure is touted as > the perfect language for multi-threaded apps this would be a very nice > and useful lesson for me. (Sorry, but I have no use at all for a > versioning control system.) > > I am doing this with Ruby right now, but no in parallel.
This seems to be an ideal use-case for Clojure Agents http://clojure.org/agents Try it out and share the code :) Regards, BG -- Baishampayan Ghose <b.gh...@ocricket.com> oCricket.com
signature.asc
Description: OpenPGP digital signature