println vs prn-str in Clojure

less than 1 minute read

Notes

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;; println_vs_prn-str.clj

(def string "Hello World!")

(println string)

(type (println string))

(prn-str string)

(type (prn-str string))

(def countries ["India" "Pakistan" "Srilanka" "Bangladesh"])

(println countries)

(prn-str countries)

Updated: