Maintainer | Leon P Smith <leon@melding-monads.com> |
---|---|
Safe Haskell | None |
This module provides the abstract data structure that backs ConfigCache
and that ConfigParser
s operate on.
It shouldn't be necessary to use this module much, if at all, in client code. It might be considered semi-internal. Please file a issue if you find a need to use it.
- data Config
- empty :: Config
- null :: Config -> Bool
- lookup :: Name -> Config -> Maybe Value
- lookupWithName :: Name -> Config -> Maybe (Name, Value)
- subgroups :: Name -> Config -> [Name]
- subassocs :: Name -> Config -> [(Name, Value)]
- subassocs' :: Name -> Config -> [(Name, Value)]
- union :: Config -> Config -> Config
- subconfig :: Name -> Config -> Config
- superconfig :: Name -> Config -> Config
Documentation
superconfig :: Name -> Config -> ConfigSource