std.lib.atom
atom-batch-fn
added in 4.0
(atom-batch-fn prev cmds)constructs the output and next state for a batch operation
atom-delete-fn
added in 4.0
(atom-delete-fn prev paths)constructs the output and next state for a delete operation
atom-put-fn
added in 4.0
(atom-put-fn prev path m)constructs the output and next state for a put operation
atom-reduce-fn
added in 3.0
(atom-reduce-fn prev f tx entries)helper function for mutations on atom
atom-set-fn
added in 4.0
(atom-set-fn prev paths)constructs the output and next state for a set operation
atom-set-keys-fn
added in 4.0
(atom-set-keys-fn prev path m)constructs the output and next state for a set-keys operation
atom-swap-fn
added in 4.0
(atom-swap-fn prev paths)constructs the output and next state for a swap operation
atom:cursor
added in 3.0
(atom:cursor ref selector)(atom:cursor ref selector key)adds a cursor to the atom to swap on any change
atom:delete
added in 3.0
(atom:delete state path & more)deletes individual enties from path
atom:derived
added in 3.0
(atom:derived atoms f)(atom:derived atoms f key)constructs an atom derived from other atoms
atom:put-changed
added in 3.0
(atom:put-changed [old new])figure out what has changed in put operation
atom:set
added in 3.0
(atom:set state path m & more)sets the entries given a set of inputs
atom:set-changed
added in 3.0
(atom:set-changed outputs)figure out what has changed in set
atom:set-keys
added in 3.0
(atom:set-keys state path m)sets the entries given a set of inputs
atom:swap
added in 3.0
(atom:swap state path f & more)swaps entries atomically given function
swap-return!
added in 3.0
(swap-return! atm f)(swap-return! atm f state?)returns output and new state of atom