Interface which contains conj?

☆樱花仙子☆ 提交于 2020-01-14 10:33:34

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!