summoner-1.0.1: Tool for creating completely configured production Haskell projects.

Safe HaskellNone
LanguageHaskell2010

Summoner.Config

Description

Summoner configurations.

Synopsis

Documentation

data ConfigP (p :: Phase) Source #

Potentially incomplete configuration.

type PartialConfig = ConfigP Partial Source #

Incomplete configurations.

type Config = ConfigP Final Source #

Complete configurations.

defaultConfig :: PartialConfig Source #

Default Config configurations.

finalise :: PartialConfig -> Validation [Text] Config Source #

Make sure that all the required configurations options were specified.

loadFileConfig :: MonadIO m => FilePath -> m PartialConfig Source #

Read configuration from the given file and return it in data type.