Re: For Comprehension and println (Noob Question)

2008-12-03 Thread Stephen C. Gilardi
On Dec 3, 2008, at 7:19 PM, aria42 wrote: > Hi all, > When I run the following from the REPL, I see the result of the > "println" > > (defn read-docs [duc-dir] > (for [file (.listFiles (java.io.File. duc-dir)) > :when (.isFile file)] > (do > (println file) > (.get

For Comprehension and println (Noob Question)

2008-12-03 Thread aria42
Hi all, When I run the following from the REPL, I see the result of the "println" (defn read-docs [duc-dir] (for [file (.listFiles (java.io.File. duc-dir)) :when (.isFile file)] (do (println file) (.getName file However, when embedded in a script (u