Skip to main content

Modification

9
  • assoc

    assoc[iate]. When applied to a map, returns a new map of the same (hashed/sorted) type, that contains the mapping of key...

  • assoc-in

    Associates a value in a nested associative structure, where ks is a sequence of keys and v is the new value and returns ...

  • conj

    conj[oin]. Returns a new collection with the xs 'added'. (conj nil item) returns (item). (conj coll) returns coll. (conj...

  • cons

    Returns a new seq where x is the first element and coll is the rest.

  • disj

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

  • dissoc

    dissoc[iate]. Returns a new map of the same (hashed/sorted) type, that does not contain a mapping for key(s).

  • pop

    For a list or queue, returns a new list/queue without the first item, for a vector, returns a new vector without the las...

  • update

    'Updates' a value in an associative structure, where k is a key and f is a function that will take the old value and any...

  • update-in

    'Updates' a value in a nested associative structure, where ks is a sequence of keys and f is a function that will take t...