> ;For my own reference--this is an example of a Clojure sequence
> comprehension
> (for [current-month [months]]
>         (let [current-sheet (init-sheet current-month)])
> )

Two things:
 - I think you want (for [current-month months] ...
   As-is, this will loop a single time, binding current-months to the
vector of all months
 - Yes, I think lazy evaluation is your problem.  Try replacing "(for"
with "(doseq",
  or with (doall (for ..) if you actually want the output and not just
the side effects.
  (Here, you're not doing anything with the output of for, so they'll
be equivalent).

-Jason

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