tamper-0.4.2.3: Blaze-style HTML templates as a Monad Transformer.

Safe HaskellNone
LanguageHaskell2010

Text.Tamper.Render

Synopsis

Documentation

renderTamperT :: (Monoid t, IsString t, Monad m) => (NodeList t -> t) -> TamperT t m a -> m t Source #

renderTamperT runs a TamperT action, applies the provided reducer to distill the resulting DOM tree into a string-like value, and returns that value into the underlying monad.