-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Simple data type for application configuration. -- -- Simple data type to store Typeable values. @package configuration @version 0.1 module Data.Configuration data Conf as :: a valueForKey :: Typeable a => String -> Conf -> a -> Maybe a (<@>) :: Typeable a => String -> a -> (String, Dynamic) keys :: Conf -> [String] (!) :: Typeable a => Conf -> String -> a toConf :: [(String, Dynamic)] -> Conf -- | Converts an arbitrary value into an object of type Dynamic. -- -- The type of the object must be an instance of Typeable, which -- ensures that only monomorphically-typed objects may be converted to -- Dynamic. To convert a polymorphic object into Dynamic, -- give it a monomorphic type signature. For example: -- --
--   toDyn (id :: Int -> Int)
--   
toDyn :: Typeable a => a -> Dynamic toMap :: Conf -> Map String Dynamic instance Typeable Conf