packages feed

salak-toml 0.3 → 0.3.1

raw patch · 2 files changed

+3/−4 lines, 2 filesdep ~salakPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: salak

API changes (from Hackage documentation)

Files

salak-toml.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.12 name: salak-toml-version: 0.3+version: 0.3.1 license: BSD3 license-file: LICENSE copyright: (c) 2018 Daniel YU
test/Spec.hs view
@@ -9,7 +9,6 @@  module Main where -import           Control.Monad.Catch import           Control.Monad.Reader import           Data.List            (intercalate) import           Data.Text            (Text, pack)@@ -51,10 +50,10 @@ data SubConf = SubConf   { hello :: String } deriving (Eq, Show, Generic) -instance MonadCatch m => FromProp m SubConf where+instance Monad m => FromProp m SubConf where   fromProp = SubConf <$> "hello" .?= "yyy" -instance MonadCatch m => FromProp m Conf+instance Monad m => FromProp m Conf  tomlProperty :: SpecWith () tomlProperty = do