In clojure, I'd like to know what are the differences between the three below.
(println (map + '(1 2 3) '(4 5 6)))
(println (map '+ '(1 2 3) '(4 5 6)))
(println (map #'+ '(1 2 3) '(4 5 6)))
The results are
(5 7 9)
(4 5 6)
(5 7 9)
I can't understand the second one's behavior.
I feel the first one and the third one are the same in clojure which is Lisp-1 and doesn't distinguish between evaluating a variable and the identically named function.
This may be a basic question, but there seems not to be enough infomation. Please teach me.
Thanks.