Re: clojure.contrib.logging in "side-effect free" functions?

2010-06-24 Thread William Wadsworth
Hi! On Jun 24, 12:16 pm, Laurent PETIT wrote: > 2010/6/24 Laurent PETIT : > > > > > Hi, > > > 2010/6/17 William Wadsworth : > >> Hi. > > >> I have just started learning Clojure and I am really enjoying > >> myself. However, I am still g

Re: clojure.contrib.logging in "side-effect free" functions?

2010-06-24 Thread William Wadsworth
Hi! On Jun 24, 12:04 pm, ka wrote: > To my naive inexperienced eyes, there doesn't seem to be something > obviously wrong with your code. > > > Since FOR returns a lazy sequence of the results, is this function > > safe?  (Seeing that it is not side-effect free?) > > I'm not getting this, do you

Re: Enhanced Primitive Support

2010-06-20 Thread William Wadsworth
I have been using Clojure for just under a week, but ... I have been using CL for almost three years now and have lately been looking at and actually using Clojure. I think that it should be easy to write correct code then put it a bit of work later to make it fast. On Jun 18, 12:44 pm, Christoph

clojure.contrib.logging in "side-effect free" functions?

2010-06-17 Thread William Wadsworth
Hi. I have just started learning Clojure and I am really enjoying myself. However, I am still getting to grips with the workings of its concurrency model, so please excuse me if my question seems too obvious. I have some code that reads data from a file, parses it and generates a CSV file. The fl