Clojure Can';t映射整数
我在这里做错了什么,或者有什么问题吗?Clojure Can';t映射整数,clojure,Clojure,我在这里做错了什么,或者有什么问题吗?Integer。与新整数相同。你想要: (Integer. "1") ; => 1 (map Integer. ["1" "2"]) ; CompilerException java.lang.ClassNotFoundException: Integer., compiling:(/tmp/form-init6181502527198258116.clj:1:1) (map #(Integer. %) ["1" "2"])
Integer。
与新整数
相同。你想要:
(Integer. "1") ; => 1
(map Integer. ["1" "2"])
; CompilerException java.lang.ClassNotFoundException: Integer., compiling:(/tmp/form-init6181502527198258116.clj:1:1)
(map #(Integer. %) ["1" "2"])