rib-0.8.0.0: Static site generator using Shake

Safe HaskellNone
LanguageHaskell2010

Rib.Parser.Dhall

Contents

Description

Parser for Dhall configuration files.

Use makeHaskellTypes to create the Haskell type first. And then call parse from your Shake action.

Synopsis

Parsing

parse Source #

Arguments

:: FromDhall a 
=> [Path Rel File]

Dependent .dhall files, which must trigger a rebuild

-> Path Rel File

The Dhall file to parse. Relative to ribInputDir.

-> Action a 

Parse a Dhall file as Haskell type.