[Haskell-cafe] Generating valid html

Christopher Reichert creichert07 at gmail.com
Thu Nov 13 01:07:28 UTC 2014


On Wed, Nov 12 2014, Wojtek Narczyński <wojtek at power.com.pl> wrote:
> Hello list,
>
> I have a question.
>
> How to create a DSL for HTML generation, that would (statically) allow
> only valid HTML to be generated? Parent - child relations, valid
> attributes only.
>
> Or does such a DSL already exist, perhaps?

I'm not sure if it fits all your criteria but BlazeHtml might interest you.

https://hackage.haskell.org/package/blaze-html

Regards,
-Christopher


More information about the Haskell-Cafe mailing list