Copyright | (c) Justin Le 2018 |
---|---|
License | BSD3 |
Maintainer | justin@jle.im |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Utilities for loading configuration file.
Documentation
Configuration for auto-runner.
Instances
Generic Config Source # | |
ToJSON Config Source # | |
Defined in AOC.Run.Config | |
FromJSON Config Source # | |
Default Config Source # | No session key, and 2015. |
Defined in AOC.Run.Config | |
type Rep Config Source # | |
Defined in AOC.Run.Config type Rep Config = D1 (MetaData "Config" "AOC.Run.Config" "aoc2018-0.1.0.0-Hkhvhpmf68i25W661VmcCR" False) (C1 (MetaCons "Cfg" PrefixI True) (S1 (MetaSel (Just "_cfgSession") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe String)) :*: S1 (MetaSel (Just "_cfgYear") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer))) |
defConfPath :: FilePath Source #
Default math to find a configuration file.