Copyright | © 2016–present Stack Builders |
---|---|
License | BSD 3 clause |
Maintainer | Mark Karpov <markkarpov92@gmail.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Functions for rendering Mustache templates. You don't usually need to import the module, because Text.Mustache re-exports everything you may need, import that module instead.
Synopsis
- renderMustache :: Template -> Value -> Text
- renderMustacheW :: Template -> Value -> ([MustacheWarning], Text)
Documentation
renderMustacheW :: Template -> Value -> ([MustacheWarning], Text) Source #
Like renderMustache
, but also returns a collection of warnings.
Since: 1.1.1