Q: I would like to express a navigation using zipper steps as data. Is there a way (or an example) of how to do this?
Neat! Thanks for sharing and also for the kind words!
It was indeed easy and simple. Data driven navigation ftw
Coolio, whatcha building, anything that you can talk about?
this is for Hotplate which is a tool I use to generate/create applications. it’s not yet OSS but I will open it up once I have the resources to manage it. when I do, touch base and I’ll show you where this little DSL is used
it reminds me a lot of Specter navigators. I bet there’s quite a diaspora of navigation DSLs in the clojure world
this is the UI for it
btw clj-rewrite is one of the most valuable libs in Hotplate so thank you heaps for your efforts
i.e. instead of this code… (-> zloc (z/find-value z/next ’foo) (z/down)) I’d like to use something like… [{:op :find-next :target ’foo} {:op :down}]
I could create a multimethod DSL for something like this or a macro but I’m wondering if this already exists?
Not that I know of @steveb8n!
Ok. Should be easy to build myself