Liking cljdoc? Tell your friends :D

com.rpl.specter.protocols


Collectorclj/sprotocol

Do not use this protocol directly. All navigators must be created using macros in com.rpl.specter namespace.

Do not use this protocol directly. All navigators must be created using
macros in com.rpl.specter namespace.

collect-valclj/s

(collect-val this structure)
sourceraw docstring

ImplicitNavclj/sprotocol

implicit-navclj/s

(implicit-nav obj)
source

RichNavigatorclj/sprotocol

Do not use this protocol directly. All navigators must be created using macros in com.rpl.specter namespace.

Do not use this protocol directly. All navigators must be created using macros
in com.rpl.specter namespace.

select*clj/s

(select* this vals structure next-fn)

An implementation of select* must call next-fn on each subvalue of structure. The result of select* is specified as follows:

  1. NONE if next-fn never called
  2. NONE if all calls to next-fn return NONE
  3. Otherwise, any non-NONE return value from calling next-fn
An implementation of `select*` must call `next-fn` on each
subvalue of `structure`. The result of `select*` is specified
as follows:

1. `NONE` if `next-fn` never called
2. `NONE` if all calls to `next-fn` return `NONE`
3. Otherwise, any non-`NONE` return value from calling `next-fn`

transform*clj/s

(transform* this vals structure next-fn)

An implementation of transform* must use next-fn to transform any subvalues of structure and then merge those transformed values back into structure. Everything else in structure must be unchanged.

An implementation of `transform*` must use `next-fn` to transform
any subvalues of `structure` and then merge those transformed values
back into `structure`. Everything else in `structure` must be unchanged.
sourceraw docstring

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

× close