-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Support for Hamlet HTML templates in Happstack -- -- Happstack is a web application development framework. Hamlet provides -- HTML templates which are checked for correctness at compile time. This -- package add support for using Hamlet templates with Happstack. @package happstack-hamlet @version 7.0.3 -- | This module provides support for using Hamlet with Happstack. Hamlet -- provides type-safe HTML generation. More information can be found at -- http://patch-tag.com/r/mae/happstack/snapshot/current/content/pretty/happstack-hamlet/demo.hs -- and http://hackage.haskell.org/package/hamlet. module Happstack.Server.Hamlet -- | turn a Hamlet template into a Happstack Response -- -- Due to changes in Hamlet, this function is now just defined as: -- --
--   hamletToResponse showFn hamlet = toResponse $ hamlet showFn
--   
-- -- You probably do not need to use this library at all these days. hamletToResponse :: (url -> [(Text, Text)] -> Text) -> HtmlUrl url -> Response