After a few days of trying to wrap my brain around zippers, I think I finally understand how to create them from sequential data.
However, after searching for a few days, I can't seem to find any resources on how convert a zipper into something else. Basically, I want to convert some data into a format that I can pass to Hiccup to generate some HTML.
Are there any good resources on what I should be doing to convert a zipper tree into a different data structure?
I think you have it backwards, but that is a good thing. The way to use zippers is to create a zipper that works for your datastructure, not the other way around. Hickory is an excellent example. This is a good example for a zipper that uses maps instead of sequences.