Changes for clojure.core/constantly

donkey on Sun, 19 Aug 2012
;; constantly returns a function which always returns the same value
(map (constantly 9) [1 2 3])
user=> (9 9 9)

(map (constantly (rand-int 100)) [:a :b :c])
user=> (43 43 43)
donkey on Sun, 19 Aug 2012
;; constantly returns a function which always returns the same value
(map (constantly 9) [1 2 3])
user=> (9 9 9)
john.r.woodward on Thu, 19 Jul 2012
;; constantly is a function which always returns a constant
(map (constantly 9) [1 2 3])
user=> (9 9 9)