Liking cljdoc? Tell your friends :D

okulary.core


atomcljs

(atom x)

Creates and returns an Atom with an initial value of x.

Creates and returns an Atom with an initial value of x.
sourceraw docstring

Atomcljs

source

derivedcljs

(derived selector source)
(derived selector source equals?)

Create a derived atom from an other atom with the provided lense.

The returned atom is lazy, so no code is executed until user requires it.

By default the derived atom does not trigger updates if the data does not affects to it (determined by selector), but this behavior can be deactivated passing :equals? to false on the third options parameter. You also may pass = as equals? parameter if you want value comparison instead of reference comparison with identical?.

Create a derived atom from an other atom with the provided lense.

The returned atom is lazy, so no code is executed until user
requires it.

By default the derived atom does not trigger updates if the data
does not affects to it (determined by selector), but this behavior
can be deactivated passing `:equals?` to `false` on the third
options parameter. You also may pass `=` as `equals?` parameter if
you want value comparison instead of reference comparison with
`identical?`.
sourceraw docstring

DerivedAtomcljs

source

incljs

(in kv)
source

keycljs

(key k)

A key based selector.

A key based selector.
sourceraw docstring

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

× close