Safe Haskell | Trustworthy |
---|---|
Language | Haskell2010 |
Documentation
class Configurable a where Source
fromValue :: Value -> Maybe a Source
valueToList :: Value -> Maybe [a] Source
listToValue :: [a] -> Value Source
Configurable Bool | |
Configurable Int | |
Configurable Integer | |
Configurable Text | |
Configurable a => Configurable [a] |
lookup :: Configurable a => Name -> Configuration -> Maybe a Source
require :: Configurable a => Name -> Configuration -> a Source
lookupDefault :: Configurable a => Name -> Configuration -> a -> a Source