hamlet-0.0.2: Haml-like template files that are compile-time checked




xhamlet :: QuasiQuoterSource

Calls hamletWithSettings using XHTML 1.0 Strict settings.

hamletWithSettings :: HamletSettings -> QuasiQuoterSource

A quasi-quoter that converts Hamlet syntax into a function of form:

argument -> Hamlet url m ()

Please see accompanying documentation for a description of Hamlet syntax. You must ensure that the type of m, url and argument all work properly with the functions referred to in the template. Of course, worst case scenario is the compiler will catch your mistakes.