Changes for clojure.core/pr-str

Miles on Fri, 22 Oct 2010
user=> (def x [1 2 3 4 5])
#'user/x
user=> x
[1 2 3 4 5]


;; Turn that data into a string...
user=> (pr-str x)
"[1 2 3 4 5]"


;; ...and turn that string back into data!
user=> (read-string (pr-str x))
[1 2 3 4 5]
Kototama on Thu, 30 Sep 2010
user=> (def x [1 2 3 4])
#'user/x
user=> x
[1 2 3 4]


;; Turn that data into a string...
user=> (pr-str x)
"[1 2 3 4]"


;; ...and turn that string back into data!
user=> (read-string (pr-str x))
[1 2 3 4]
zkim on Sun, 26 Sep 2010
user=> (def x [1 2 3 4])
#'user/x
user=> x
[1 2 3 4]


;; Turn that data into a string...
user=> (pr-str x)
"[1 2 3 4]"


;; ...and turn that string back into data!
user=> (eval (read-string (pr-str x)))
[1 2 3 4]
Miles on Sat, 11 Sep 2010
user=> (def x [1 2 3 4])
#'user/x
user> x
[1 2 3 4]


Turn that data into a string...

user=> (pr-str x)
"[1 2 3 4]"


...and turn that string back into data!

user=> (eval (read-string (pr-str x)))
[1 2 3 4]
Miles on Sat, 11 Sep 2010
user=> (def x [1 2 3 4])
#'user/x
user> x
[1 2 3 4]

;; turn the data into a string...
user=> (pr-str x)
"[1 2 3 4]"

;; ...and turn that string back into data!
user=> (eval (read-string (pr-str x)))
[1 2 3 4]