Skip to main content

Transients

7
  • assoc!

    When applied to a transient map, adds mapping of key(s) to val(s). When applied to a transient vector, sets the val at...

  • conj!

    Adds x to the transient collection, and return coll. The 'addition' may happen at different 'places' depending on the ...

  • disj!

    disj[oin]. Returns a transient set of the same (hashed/sorted) type, that does not contain key(s).

  • dissoc!

    Returns a transient map that doesn't contain a mapping for key(s).

  • persistent!

    Returns a new, persistent version of the transient collection, in constant time. The transient collection cannot be us...

  • pop!

    Removes the last item from a transient vector. If the collection is empty, throws an exception. Returns coll

  • transient

    Returns a new, transient version of the collection, in constant time. Transients support a parallel set of 'changing'...