Interface which contains conj?
问题 As an exercise, I am developing a data structure similar to Vector. I have implemented all interfaces which IPersistentVector extends, but I have not found the interface where 'conj' is defined. Which interface is that? Thanks! 回答1: clojure.lang.IPersistentCollection/cons . It was named cons originally, and that's stuck around in the interface even though the Clojure function for it is now called conj . 来源: https://stackoverflow.com/questions/8781213/interface-which-contains-conj