`str-println` now flushes *out* (Marek Srank).

This commit is contained in:
Peter Taoussanis 2012-07-13 16:22:40 +07:00
parent 068d9bf248
commit 6807e2b6bd
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@
"Like `println` but prints all objects to output stream as a single
atomic string. This is faster and avoids interleaving race conditions."
[& xs]
(print (str (str/join \space xs) \newline)))
(print (str (str/join \space xs) \newline))
(flush))
(defonce config
^{:doc