burrito-1.0.2.0: Parse and render URI templates.

Safe HaskellSafe
LanguageHaskell98

Burrito.Expand

Description

Warning: This module is not considered part of Burrito's public API. As such, it may change at any time. Use it with caution!.

Synopsis

Documentation

expand :: [(String, Value)] -> Template -> String Source #

Expands a template using the given values. Unlike parsing, expansion always succeeds. If no value is given for a variable, it will simply not appear in the output.