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

2010-06-24 Thread William Wadsworth
Hi! On Jun 24, 12:04 pm, ka sancha...@gmail.com 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

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

2010-06-24 Thread William Wadsworth
Hi! On Jun 24, 12:16 pm, Laurent PETIT laurent.pe...@gmail.com wrote: 2010/6/24 Laurent PETIT laurent.pe...@gmail.com: Hi, 2010/6/17 William Wadsworth will.wadsworth...@gmail.com: Hi. I have just started learning Clojure and I am really enjoying myself. However, I am still getting

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