What might be a Clojurey syntax for doing path navigation? In other words how could get-in be extended so that it could parse nested vectors like it parses nested maps? Thinking out aloud, an integer in the path when the data structure at that level is a vector should treat the integer as an index.
What about ALL? What would be Clojurey way of doing ALL? How about asterisk *? Or maybe underscore _? Or nil? Thoughts? On Fri, Mar 3, 2017 at 7:27 PM, John Newman <john...@gmail.com> wrote: > I think the path navigator DSL feels slightly un-Clojurey. But other than > that, I think Specter is pure magic and Nathan is right that editing deeply > nested data structures in Clojure is a point of deficiency, especially for > people coming from mutable languages/data structures. To that extent, I > think Specter does a yeoman's job of filling that "missing piece" of > Clojure. Again, it's only the navigator DSL that feels a little un-Clojurey > to me. > > On Wed, Feb 15, 2017 at 10:05 PM Alex Miller <a...@puredanger.com> wrote: > >> >> On Wednesday, February 15, 2017 at 3:41:36 PM UTC-6, Nathan Marz wrote: >> >> Alex – care to elaborate? When I get this question it would be nice to be >> able to tell people why the core team isn't interested. >> >> >> The default answer to all such questions is no. Clojure has a small >> library and Rich wants it to remain that way. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clojure@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.