config-manager 0.2.0.0 → 0.3.0.0
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- Data.ConfigManager: lookupDefault :: Read a => a -> Name -> Config -> a
+ Data.ConfigManager: lookupDefault :: Configured a => a -> Name -> Config -> a
Files
- Data/ConfigManager.hs +2/−2
- config-manager.cabal +1/−1
Data/ConfigManager.hs view
@@ -63,7 +63,7 @@ -- | Lookup for the value associated to a name and return the default value if -- no binding exists with the given name. -lookupDefault :: Read a => a -> Name -> Config -> a+lookupDefault :: Configured a => a -> Name -> Config -> a lookupDefault defaultValue name config = foldl (flip const) defaultValue $ lookup name config -- $format@@ -122,7 +122,7 @@ -- > , mailFrom :: String -- > , currency :: String -- > , expiration :: DiffTime--- > } deriving (Read, Eq, Show)+-- > } deriving (Eq, Show) -- > -- > getConfig :: IO (Either Text Conf) -- > getConfig =
config-manager.cabal view
@@ -1,5 +1,5 @@ name: config-manager-version: 0.2.0.0+version: 0.3.0.0 synopsis: Configuration management description: A configuration management library which supports: