Fork me on GitHub
#beginners
<
2019-03-03
>
archibald.pontier_clo05:03:16

I have a page that I am building with hiccup and I have some html elements tree parsed with enlive, I was hoping it would be as simple as pluging the enlive tree into hiccup (like [:div.myenlivedata enlive-tree]) but it's not, is there any prefered way to do this?

archibald.pontier_clo06:03:55

emit* seems to do what I want but I feel like I am using enlive/hc badly

mattias50419:03:06

Hey, doing some prototyping and want to persist my data. What’s the quickest way to persist and read regular core data structures?

borkdude19:03:20

spit and slurp + clojure.edn/read-string

mattias50420:03:53

Short and concise. Perfect. Thanks!