hako

A mako-like quasi-quoter template library

Latest on Hackage:1.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Tobias Dammers
Maintained by [email protected]

A quasi-quote based HTML template library with a simplistic approach, Hako borrows its philosophy from Mako, a popular Python template library. The idea is that the template mechanism itself should be kept simple, while exposing the full expressivity of Haskell itself inside the templates. At the same time, any value interpolated into a template gets HTML-encoded by default, but you can override this behavior by providing your own instances of the ToHtml typeclass.