liquid-0.1.0.2: Liquid template language library

Safe HaskellNone
LanguageHaskell2010

Text.Liquid

Synopsis

Documentation

interpret :: Value -> [Expr] -> Rendering Text Source #

Interpret the raw data if it is ok

interpretWithJson Source #

Arguments

:: Value

JSON context

-> Text

Raw template

-> Rendering Text 

Interpret function - for use in testing the lib

parseTemplate :: Text -> IResult Text [Expr] Source #

Run the templateParser on input text, force partial results to terminate with Failure

renderTemplate :: Value -> Expr -> Rendering Text Source #

Rendering types

Main template block rendering fn

templateParser :: Parser [Expr] Source #

Parse an entire template into chunks