Fast HTML combinator library that embeds HTML templates in Haskell code
open sourceBSD-3-Clausefree
BlazeHtml (the blaze-html package) generates HTML from Haskell: templates are written as a lightweight DSL embedded in Haskell code, so they compose like ordinary functions and are checked by the compiler. It aims to be the fastest way to produce HTML in Haskell, supports HTML 4 Strict and HTML 5 with efficient Unicode handling, includes a tool that turns an HTML file into BlazeHtml code, and works with every Haskell web framework.
Problems it solves
- generate HTML from Haskell code with compile-time checking
- write HTML templates for a Haskell web app without a separate template language
- render HTML fast in a Haskell web server
Features
- HTML templates as a DSL embedded in Haskell
- HTML 4 Strict and HTML 5 combinators
- efficient Unicode support
- a tool that converts an HTML file into BlazeHtml code
- works with any Haskell web framework
Limitations
- Its makers call the API stable but the implementation still experimental.1
