http|core.phel, for example, called
testing.phel(?). If it gets bigger, we might think about extract it somewhere (in another repo), but, for now, because it's pretty tiny and minimalistic, I would rather vote to have it there, close to the core :)
doc/build-api-page.php. But it's not available as a language feature like go seems to have. It would be nice to have a tool doing this that could be used by projects written in Phel.
setdocumentation. I think it would fit well between "Array, Table and Struct" and "Destructuring", but this mean updating the weight of all subsequent pages. Should we increment the weight by 10 for each pages instead of 1? This would allow to add a page between two other without having to update all subsequent pages.
@jenshaase Ok, I have tried it. I understand the code and logic behind it and it feels elegant and simple once you wrap your head around it. My issue probably has nothing to do with the html library, but my lack of fp experience.
How would you print a
li defined in an array?
(def array @["one" "two" "three"]) (print (html [:ul [<somekind of function here or ?>]] ))
forreturns an array. loop could work but i'm not sure.