tamper-0.4.2: An HTML templating system similar to Blaze, implemented as a monad transformer of sorts

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.