protocol | since v0.0-1211 | clojure.lang/ITransientCollection | Edit |
Protocol for adding basic functionality to transient collections.
(defprotocol ITransientCollection
(^clj -conj! [tcoll val]
"Adds value val to tcoll and returns tcoll.")
(^clj -persistent! [tcoll]
"Creates a persistent data structure from tcoll and returns it."))