
12 Nov
2014
12 Nov
'14
8:07 p.m.
On Wed, Nov 12 2014, Wojtek NarczyĆski
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