redplanetlabs / specter

Clojure(Script)'s missing piece
Apache License 2.0
2.51k stars 102 forks source link

#244 - Implicit navigator for maps #292

Closed jeff303 closed 3 years ago

jeff303 commented 3 years ago

Adding implicit navigator for PersistentArrayMap that builds up a navigator recursively, of the form:

(if-path (i/combine-two-navs (keypath key) (pred= value))

) Adding tests
nathanmarz commented 3 years ago

Don't think this kind of filtering is useful enough to make a new implicit nav for it. Not sure what use case implicit navs for maps should target – maybe for expressing multi-path more concisely though I'm not convinced of that.