Thank you very much sw1nn and John, both worked great. This goes to show how much of a newb I am.
Sorry if this is the wrong group (just realized it is the Clojure group and not Clojurescript one). BTW, it seems like knowing Clojure is a requirement to start using Clojurescript, do you guys know of any turorials/resources to learn Clojurescript that don't rely on previous Clojure knowledge? (so far I've seen Clojurescript One and Modern. Clojurescript One is way too much for starters, too many things going on at once. Modern is better, but I couldn't get domina 1.0.2-SNAPSHOT to be automatically fetched from Clojars, hence I got stuck). On Saturday, March 30, 2013 8:31:37 AM UTC-4, John Hume wrote: > > When you want a side effect and don't care about return values, it's > idiomatic to use doseq. > > (doseq [c calls-log] (log-call c)) > On Mar 30, 2013 4:23 AM, "Neale Swinnerton" > <ne...@isismanor.com<javascript:>> > wrote: > >> ;(.log js/console (pr-str calls-log )))) >>> (map log-call calls-log))) >>> >>> map is lazily evaluated, so if you never read it's result nothing >> happens. >> >> You can force evaluation with doall (and variants) >> >> so... >> >> (doall (map log-call calls-log)) >> >> will behave as you expect. >> >> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com<javascript:> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.