Re: printf does not always generate output

2015-02-27 Thread Cecil Westerhof
2015-02-27 22:47 GMT+01:00 Sam Raker : > I have > https://jafingerhut.github.io/cheatsheet/grimoire/cheatsheet-tiptip-cdocs-summary.html > bookmarked and also like basically always open in a tab forever, fwiw. > ​Also good information. ​ -- Cecil Westerhof -- You received this message because

Re: printf does not always generate output

2015-02-27 Thread Sam Raker
I have https://jafingerhut.github.io/cheatsheet/grimoire/cheatsheet-tiptip-cdocs-summary.html bookmarked and also like basically always open in a tab forever, fwiw. On Friday, February 27, 2015 at 4:37:38 PM UTC-5, Cecil Westerhof wrote: > > 2015-02-27 20:36 GMT+01:00 Andy Fingerhut >: > >>

Re: printf does not always generate output

2015-02-27 Thread Cecil Westerhof
2015-02-27 20:36 GMT+01:00 Andy Fingerhut : > Not every function and macro is documented completely or accurately on > ClojureDocs.org, but I would recommend checking it out when you run across > something that looks amiss, and see if the examples mention what you are > seeing. In this case, it d

Re: printf does not always generate output

2015-02-27 Thread Andy Fingerhut
Not every function and macro is documented completely or accurately on ClojureDocs.org, but I would recommend checking it out when you run across something that looks amiss, and see if the examples mention what you are seeing. In this case, it does: http://clojuredocs.org/clojure.core/printf And

Re: printf does not always generate output

2015-02-27 Thread Steve Miner
Try adding (flush) at the end. > On Feb 27, 2015, at 2:12 PM, Cecil Westerhof wrote: > > My core.clj ends with: > (println (format "Started: %s (println)" (java.util.Date.))) > (printf "Started: %s (printf)\n" (java.util.Date.)) > > I do not see the output from the printf when I run 'le

printf does not always generate output

2015-02-27 Thread Cecil Westerhof
My core.clj ends with: (println (format "Started: %s (println)" (java.util.Date.))) (printf "Started: %s (printf)\n" (java.util.Date.)) I do not see the output from the printf when I run 'lein repl'. The funny thing is that when I switch the two statements, both are shown. Also when I do '