Changes for clojure.core/println-str

matthewg on Tue, 06 Dec 2011
;; Create a newline-terminated string from the items and store it in x.
user=> (def x (println-str 1 "foo" \b \a \r {:a 2}))
#'user/x

;; It's a string.
user=> (string? x)
true

;; Notice that the items are separated by a space.  Also, the newline string is
;; platform-specific. See clojure.core/newline.
user=> x
"1 foo b a r {:a 2}\r\n"
philos99 on Wed, 28 Sep 2011
user=> (def x "Hello!\nMy name is George.")
#'user/x

user=> x
"Hello!\nMy name is George."

user=> (println-str x)
"Hello!\nMy name is George.\n"
philos99 on Wed, 28 Sep 2011
user=> (def x "Hello!\nMy name is George.\n")
#'user/x

user=> x
"Hello!\nMy name is George.\n"

user=> (println-str x)
"Hello!\nMy name is George.\n\n"
Miles on Fri, 22 Oct 2010
user=> (def x "Hello!\nMy name is George.\n")
#'user/x

user=> x
"Hello!\nMy name is George.\n"

user=> (println x)
Hello!
My name is George.

nil
zkim on Sun, 26 Sep 2010
user=> (def x "Hello!\nMy name is Simon.\n")
#'user/x

user=> x
"Hello!\nMy name is Simon.\n"

user=> (println x)
Hello!
My name is Simon.

nil
Miles on Sat, 11 Sep 2010
user=> (def x "Hello!\nMy name is Simon.\n")
#'user/x
user=> x
"Hello!\nMy name is Simon.\n"
user=> (println x)
Hello!
My name is Simon.

nil