conferer-dhall-1.1.0.0: Configuration for reading dhall files
Copyright(c) 2019 Lucas David Traverso
LicenseMPL-2.0
MaintainerLucas David Traverso <lucas6246@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Conferer.Source.Dhall

Description

Source for dhall config files

Synopsis

Documentation

fromConfig :: Key -> SourceCreator Source #

Create a SourceCreator from a dhall config file using fromFilePath

fromFilePath :: FilePath -> SourceCreator Source #

Create a SourceCreator from a filepath reading it as dhall if the file doesn't exist do nothing, but if it has invalid dhall throw an exception.

fromFilePath' :: FilePath -> IO Source Source #

Create a Source from a filepath reading it as dhall if the file doesn't exist do nothing, but if it has invalid dhall throw an exception.