on master help sign in
Version bump
c500214Michael Snoyman
ChangeLog.md+4
@@ -1,3 +1,7 @@
1+## 0.8.11
2+
3+* Function to print prettier parse exceptions [#59](https://github.com/snoyberg/yaml/pull/59)
4+
1## 0.8.10
5## 0.8.10
2
6
3Add the Data.Yaml.Include module
7Add the Data.Yaml.Include module
Data/Yaml/Internal.hs+1
@@ -69,6 +69,7 @@ instance Exception ParseException where
69--
69--
70-- > Aeson exception: The key "foo" was not found
70-- > Aeson exception: The key "foo" was not found
71--
71--
72+-- Since 0.8.11
72prettyPrintParseException :: ParseException -> String
73prettyPrintParseException :: ParseException -> String
73prettyPrintParseException NonScalarKey = "Non scalar key"
74prettyPrintParseException NonScalarKey = "Non scalar key"
74prettyPrintParseException (UnknownAlias n) =
75prettyPrintParseException (UnknownAlias n) =
yaml.cabal+1−1
@@ -1,5 +1,5 @@
1name: yaml
1name: yaml
2−version: 0.8.10.1
2+version: 0.8.11
3license: BSD3
3license: BSD3
4license-file: LICENSE
4license-file: LICENSE
5author: Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov
5author: Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov