update richnav comment
This commit is contained in:
parent
66f555ab73
commit
e4ee703a09
1 changed files with 3 additions and 1 deletions
|
|
@ -127,7 +127,9 @@
|
||||||
(defmacro richnav
|
(defmacro richnav
|
||||||
"Defines a navigator with full access to collected vals, the parameters array,
|
"Defines a navigator with full access to collected vals, the parameters array,
|
||||||
and the parameters array index. `next-fn` expects to receive the params array,
|
and the parameters array index. `next-fn` expects to receive the params array,
|
||||||
the next params index, the collected vals, and finally the next structure.
|
a params index, the collected vals, and finally the next structure.
|
||||||
|
`next-fn` will automatically skip ahead in params array by `num-params`, so the
|
||||||
|
index passed to it is ignored.
|
||||||
This is the lowest level way of making navigators."
|
This is the lowest level way of making navigators."
|
||||||
[num-params impl1 impl2]
|
[num-params impl1 impl2]
|
||||||
(let [[[s-params & s-body] [t-params & t-body]] (determine-params-impls impl1 impl2)
|
(let [[[s-params & s-body] [t-params & t-body]] (determine-params-impls impl1 impl2)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue