headroom-0.1.2.0: License Header Manager
Copyright(c) 2019-2020 Vaclav Svejcar
LicenseBSD-3
Maintainervaclav.svejcar@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Headroom.Template.Mustache

Description

Provides support for Mustache templates using the Template type class.

Synopsis

Documentation

newtype Mustache Source #

The Mustache template.

Constructors

Mustache Template 

Instances

Instances details
Show Mustache Source # 
Instance details

Defined in Headroom.Template.Mustache

Template Mustache Source #

Support for Mustache templates.

Instance details

Defined in Headroom.Template.Mustache

Methods

templateExtensions :: proxy Mustache -> [Text] Source #

parseTemplate :: MonadThrow m => Maybe Text -> Text -> m Mustache Source #

renderTemplate :: MonadThrow m => HashMap Text Text -> Mustache -> m Text Source #