We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
following this example
https://github.com/redplanetlabs/specter/wiki/Using-Specter-Recursively#recursively-navigate-to-every-map-in-a-map-of-maps
but slightly more complex
(def MAP-NODES (recursive-path [] p (if-path map? (continue-then-stay (multi-path [MAP-VALS :a] [MAP-VALS :b] [MAP-VALS :c]) ; << different from example p))))
This works but...
On CLJS if there are 21 entries in the multi-path it fails to compile with an arity error. not on jvm.
Bug: On CLJS, if there are 20 entries, compiles ok but the 20th entry is not used. works fine on jvm.
Workaround: compose the multi-path out of other multi-paths so that the 20 limit is never reached
The text was updated successfully, but these errors were encountered:
No branches or pull requests
following this example
https://github.com/redplanetlabs/specter/wiki/Using-Specter-Recursively#recursively-navigate-to-every-map-in-a-map-of-maps
but slightly more complex
(def MAP-NODES
(recursive-path [] p
(if-path map?
(continue-then-stay
(multi-path [MAP-VALS :a]
[MAP-VALS :b]
[MAP-VALS :c]) ; << different from example
p))))
This works but...
On CLJS if there are 21 entries in the multi-path it fails to compile with an arity error. not on jvm.
Bug: On CLJS, if there are 20 entries, compiles ok but the 20th entry is not used. works fine on jvm.
Workaround: compose the multi-path out of other multi-paths so that the 20 limit is never reached
The text was updated successfully, but these errors were encountered: