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 foresee any safety issues?  I think that
the logs will be created as you're writing to the out.csv.  If you
want the logs be written before you start writing to out.csv, you may
realize the lazy-seq for returns.

> BTW:
>   clojure.contrib.logging indicates that it can use an agent for
>   logging. Is my assumption that invoking the logger (with or without
>   an agent) within a function would still mean that the function has
>   side-effects correct?

Yes, any change in state or IO means side effect.

- Thanks

-- 
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

Reply via email to