protocol | since v0.0-927 | clojure.lang/Indexed | Edit |
ArrayChunk
BlackNode
IndexedSeq
IntegerRange
IntegerRangeChunk
MapEntry
PersistentVector
RedNode
Subvec
TransientVector
Protocol for collections to provide indexed-based access to their items.
(defprotocol IIndexed
(-nth [coll n] [coll n not-found]
"Returns the value at the index n in the collection coll.
Returns not-found if index n is out of bounds and not-found is supplied."))