Safe Haskell | Safe-Inferred |
---|
Generic TemplateSystem interface
- class TemplateSystem t where
- templating :: t -> Text -> Text
- data Templates = forall t . TemplateSystem t => Templates t
Documentation
class TemplateSystem t whereSource
Templating implementations
:: t | |
-> Text | Incoming text |
-> Text | Generated outcome |
Wraps templating system, hiding implementation
forall t . TemplateSystem t => Templates t |