Clojure: Lightning & # 8594; html

After several days of trying to wrap my brain around lightning, I think I finally understand how to create them from serial data.

However, after searching for a few days, I cannot find any resources on how to convert lightning to something else. Basically, I want to convert some data to a format that I can pass to Hiccup to create some HTML.

Are there any good resources for what I should do to convert the zipper tree to another data structure?

+4
source share
1 answer

I think you have it the other way around, but that's good. A way to use lightning is to create a lightning that works for your data structure, not the other way around. Hickory is a great example. This is a good example for a zipper that uses cards instead of strings.

+2
source

Source: https://habr.com/ru/post/1614375/


All Articles