Copyright | (c) 2019 Lucas David Traverso |
---|---|
License | MPL-2.0 |
Maintainer | Lucas David Traverso <lucas6246@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Conferer.Source.Dhall
Description
Source for dhall config files
Synopsis
- fromConfig :: Key -> SourceCreator
- fromFilePath :: FilePath -> SourceCreator
- fromFilePath' :: FilePath -> IO Source
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.