Updated List of Navigators (markdown)
This commit is contained in:
parent
df67723c8e
commit
559056d073
1 changed files with 1 additions and 2 deletions
|
|
@ -333,8 +333,7 @@ See also [VAL](#val), [collect](#collect), and [putval](#putval)
|
||||||
|
|
||||||
`(comp-paths & path)`
|
`(comp-paths & path)`
|
||||||
|
|
||||||
Returns a compiled version of the given path for use with compiled-{select/transform/setval/etc.} functions. This can compile navigators (defined with `defnav`) without their parameters, and the resulting compiled
|
Returns a compiled version of the given path for use with compiled-{select/transform/setval/etc.} functions.
|
||||||
path will require parameters for all such navigators in the order in which they were declared. Precompiling a path and using the corresponding compiled `select` or `transform` operation will provide a slight speed improvement (2-3%) over relying on inline factoring and caching.
|
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
=> (let [my-path (comp-paths :a :b :c)]
|
=> (let [my-path (comp-paths :a :b :c)]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue