agrafix / Spock

Another Haskell web framework for rapid development
https://www.spock.li
679 stars 56 forks source link

how to render blaze-html was hard to discover #142

Open simonmichael opened 6 years ago

simonmichael commented 6 years ago

Just now on #haskell, a new Spock user and I found it harder than it should be to figure out how to render blaze-html content. I tried: tutorial, docs, haddocks, issues, changelog, blog, hackage search (which found Spock-lucid) and google (which found a blaze helper function in Spock < 0.8). Just FYI. :)

flounders commented 6 years ago

I created a pull request to address this (#150). Something I do want to point out is that I had to do a lot of querying with ghci to just find the definitions of functions such as html and text. Right now they are hidden away in an internal source file, which is fine, but there is no way to find them easily from documentation.