Liking cljdoc? Tell your friends :D

diffuse.helper


assocclj/s

(assoc data key val)
(assoc data key val & key-vals)

Returns a diff which represents an assoc on a map or a vector, depending on the type of a given data.

Returns a diff which represents an assoc on a map or a vector,
depending on the type of a given data.
sourceraw docstring

assoc-inclj/s

(assoc-in data keys val)

Returns a diff which represents an assoc-in on a given data.

Returns a diff which represents an assoc-in on a given data.
sourceraw docstring

letclj/smacro

(let bindings body)

This macro allows to compose diffs at compile time, for a better performance. It only works with static keys and indexes. The values to assoc or insert have to be defined in the bindings.

This macro allows to compose diffs at compile time, for a better performance.
It only works with static keys and indexes. The values to assoc or insert have
to be defined in the bindings.
sourceraw docstring

map-assocclj/s

(map-assoc key val & key-vals)

Returns a diff which represents the assoc operation on a map.

Returns a diff which represents the assoc operation on a map.
sourceraw docstring

map-dissocclj/s

(map-dissoc key & keys)

Returns a diff which represents the dissoc operation on a map.

Returns a diff which represents the dissoc operation on a map.
sourceraw docstring

map-updateclj/s

(map-update key diff & key-diffs)

Returns a diff representing an update.

Returns a diff representing an update.
sourceraw docstring

missingclj/s

Returns a diff which represent the removal of a previously existing value. This diff is expected to be used only at the top level of any diff hierarchy.

Returns a diff which represent the removal of a previously existing value.
This diff is expected to be used only at the top level of any diff hierarchy.
sourceraw docstring

no-opclj/s

A diff with no effect.

A diff with no effect.
sourceraw docstring

set-conjclj/s

(set-conj val & vals)

Returns a diff which represents the conj operation on a set.

Returns a diff which represents the conj operation on a set.
sourceraw docstring

set-disjclj/s

(set-disj val & vals)

Returns a diff which represents the disj operation on a set.

Returns a diff which represents the disj operation on a set.
sourceraw docstring

updateclj/s

(update data key diff)

Returns a diff which represents an update on a map or a vector, depending on the type of a given data.

Returns a diff which represents an update on a map or a vector,
depending on the type of a given data.
sourceraw docstring

update-inclj/s

(update-in data keys f-diff & args)

Returns a diff which represents an update-in on a given data.

Returns a diff which represents an update-in on a given data.
sourceraw docstring

valueclj/s

(value val)

Returns a diff which represent a replacement by a given value. This diff is expected to be used only at the top level of any diff hierarchy.

Returns a diff which represent a replacement by a given value.
This diff is expected to be used only at the top level of any diff hierarchy.
sourceraw docstring

vec-assocclj/s

(vec-assoc index val)
(vec-assoc index val & index-vals)

Returns a diff which represents an assoc on a vector.

Returns a diff which represents an assoc on a vector.
sourceraw docstring

vec-insertclj/s

(vec-insert index insert-coll)

Returns a diff which represents an range-insert on a vector.

Returns a diff which represents an range-insert on a vector.
sourceraw docstring

vec-removeclj/s

(vec-remove index remove-count)

Returns a diff which represents an range-remove on a vector.

Returns a diff which represents an range-remove on a vector.
sourceraw docstring

vec-remsertclj/s

(vec-remsert index remove-count insert-coll)

Returns a diff which represents a remove followed by an insert at a given index.

Returns a diff which represents a remove followed by an insert at a given index.
sourceraw docstring

vec-updateclj/s

(vec-update index diff & diffs)

Returns a diff representing updates at a given index.

Returns a diff representing updates at a given index.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close