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 i...

  • conj!

    Adds val to the transient collection, and return tcoll. 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 used...

  • pop!

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

  • transient

    Returns a new, transient version of the collection, in constant time.