on master help sign in
Merge pull request #186 from bergey/master
bacf680Michael Snoyman
yaml/ChangeLog.md+4
@@ -1,5 +1,9 @@
1# ChangeLog for yaml
1# ChangeLog for yaml
2
2
3+## 0.11.4.0
4+
5+* add `ToYaml` instance for `String` [#186](https://github.com/snoyberg/yaml/pull/186)
6+
3## 0.11.3.0
7## 0.11.3.0
4
8
5* Don't wrap up async exceptions [#185](https://github.com/snoyberg/yaml/issues/185)
9* Don't wrap up async exceptions [#185](https://github.com/snoyberg/yaml/issues/185)
yaml/package.yaml+1−1
@@ -1,5 +1,5 @@
1name: yaml
1name: yaml
2−version: 0.11.3.0
2+version: 0.11.4.0
3synopsis: Support for parsing and rendering YAML documents.
3synopsis: Support for parsing and rendering YAML documents.
4description: README and API documentation are available at <https://www.stackage.org/package/yaml>
4description: README and API documentation are available at <https://www.stackage.org/package/yaml>
5category: Data
5category: Data
yaml/src/Data/Yaml/Builder.hs+1−1
@@ -75,7 +75,7 @@ instance ToYaml a => ToYaml [a] where
75 toYaml = array . map toYaml
75 toYaml = array . map toYaml
76instance ToYaml Text where
76instance ToYaml Text where
77 toYaml = string
77 toYaml = string
78−instance ToYaml String where
78+instance {-# OVERLAPPING #-} ToYaml String where
79 toYaml = string . T.pack
79 toYaml = string . T.pack
80instance ToYaml Int where
80instance ToYaml Int where
81 toYaml i = YamlBuilder (EventScalar (S8.pack $ show i) NoTag PlainNoTag Nothing:)
81 toYaml i = YamlBuilder (EventScalar (S8.pack $ show i) NoTag PlainNoTag Nothing:)
yaml/yaml.cabal+2−2
@@ -4,10 +4,10 @@ cabal-version: 1.12
4--
4--
5-- see: https://github.com/sol/hpack
5-- see: https://github.com/sol/hpack
6--
6--
7−-- hash: 4160e171cfd5a87614a9fbf40f548f75306e24d499c44f71c279d15f8c4e2c39
7+-- hash: 1f75743c2fefefb33f6f3e8a51fce90cb3f286c975d205d7ded3789d5b15c488
8
8
9name: yaml
9name: yaml
10−version: 0.11.3.0
10+version: 0.11.4.0
11synopsis: Support for parsing and rendering YAML documents.
11synopsis: Support for parsing and rendering YAML documents.
12description: README and API documentation are available at <https://www.stackage.org/package/yaml>
12description: README and API documentation are available at <https://www.stackage.org/package/yaml>
13category: Data
13category: Data