An interface that contains conj?

As an exercise, I am developing a data structure similar to Vector. I implemented all the interfaces that IPersistentVector extends, but I did not find an interface where "conj" is defined. Which interface is this? Thanks!

+4
source share
1 answer

clojure.lang.IPersistentCollection/cons . It was called cons , and it got stuck in the interface, although the Clojure function for it is now called conj .

+8
source

Source: https://habr.com/ru/post/1389943/


All Articles