conferer-snap-1.0.0.0: conferer's FromConfig instances for snap Config
Copyright(c) 2019 Lucas David Traverso
LicenseMPL-2.0
MaintainerLucas David Traverso <lucas6246@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Conferer.FromConfig.Snap

Description

FromConfig instance for snap

Synopsis

Documentation

desconstructSnapConfigToDefaults :: (Typeable a, Typeable m) => Config m a -> [(Key, Dynamic)] Source #

Deconstruct a Config into a many key/dynamic pairs to provide valid defaults for downstream fetchFromConfig

Orphan instances

FromConfig ProxyType Source # 
Instance details

FromConfig ConfigLog Source # 
Instance details

(FromConfig a, Typeable a, MonadSnap m, Typeable m) => FromConfig (Config m a) Source # 
Instance details

Methods

fetchFromConfig :: Key -> Config0 -> IO (Config m a) #

MonadSnap m => DefaultConfig (Config m a) Source # 
Instance details

Methods

configDef :: Config m a #