Changes for clojure.core/char

philos99 on Wed, 28 Sep 2011
;; can coerce an int (or similar)
user=> (char 97)
\a

;; a byte can be coerced to a char
user=> (let [bytes-array (.getBytes "abc")]
         (char (first bytes-array)))
\a

;; char is just a function
user=> (map char [65 66 67 68])
(\A \B \C \D)
mattdw on Wed, 28 Jul 2010
;; can coerce an int (or similar)
user=> (char 97)
\a
;; a byte can be coerced to a char
user=> (let [bytes-array (.getBytes "abc")]
         (char (first bytes-array)))
\a
;; char is just a function
user=> (map char [65 66 67 68])
(\A \B \C \D)