ClojureDocs

Nav

Namespaces

conj

clojure.core

Available since 1.0 (source)
  • (conj)
  • (conj coll)
  • (conj coll x)
  • (conj coll x & xs)
conj[oin]. Returns a new collection with the xs
  'added'. (conj nil item) returns (item).
  (conj coll) returns coll. (conj) returns [].
  The 'addition' may happen at different 'places' depending
  on the concrete type.