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

Headroom.Template.Mustache

Description

This module provides support for Mustache templates.

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 :: NonEmpty Text Source #

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

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