packages feed

yaml 0.8.18 → 0.8.18.1

raw patch · 3 files changed

+11/−5 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.8.18.1++* Improve prettyPrintParseException when context is empty [#89](https://github.com/snoyberg/yaml/pull/89)+ ## 0.8.18  * Switched yaml decode function for config file readers in `Data.Yaml.Config` to
Data/Yaml/Internal.hs view
@@ -88,11 +88,13 @@     Nothing -> "Unspecified YAML error"     Just yamlError -> case yamlError of       YamlException s -> "YAML exception:\n" ++ s-      YamlParseException problem context mark -> unlines+      YamlParseException problem context mark -> concat         [ "YAML parse exception at line " ++ show (yamlLine mark) ++-          ", column " ++ show (yamlColumn mark) ++ ","-        -- The context seems to include a leading "while" or similar.-        , context ++ ":"+          ", column " ++ show (yamlColumn mark)+        , case context of+            "" -> ":\n"+            -- The context seems to include a leading "while" or similar.+            _  -> ",\n" ++ context ++ ":\n"         , problem         ]   AesonException s -> "Aeson exception:\n" ++ s
yaml.cabal view
@@ -1,5 +1,5 @@ name:            yaml-version:         0.8.18+version:         0.8.18.1 license:         BSD3 license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov