microstache-1.0.1.1: Mustache templates for Haskell

Copyright© 2016–2017 Stack Builders
LicenseBSD 3 clause
MaintainerMark Karpov <markkarpov@openmailbox.org>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Text.Microstache.Parser

Description

Megaparsec parser for Mustache templates. You don't usually need to import the module, because Text.Microstache re-exports everything you may need, import that module instead.

Synopsis

Documentation

parseMustache Source #

Arguments

:: FilePath

Location of file to parse

-> Text

File contents (Mustache template)

-> Either ParseError [Node]

Parsed nodes or parse error

Parse given Mustache template.