rib-0.7.0.0: Static site generator using Shake

Safe HaskellNone
LanguageHaskell2010

Rib.Parser.Dhall

Contents

Description

Parser for Dhall files.

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.

Use makeHaskellTypes to create the Haskell type first.