ClojureDocs

Nav

Namespaces

vector-of

clojure.core

Available since 1.2 (source)
  • (vector-of t)
  • (vector-of t & elements)
Creates a new vector of a single primitive type t, where t is one
of :int :long :float :double :byte :short :char or :boolean. The
resulting vector complies with the interface of vectors in general,
but stores the values unboxed internally.
 Optionally takes one or more elements to populate the vector.