Add haddocks for decodeFileWithWarnings
commit3d29d0bf87f25936c80b29ad4cefe0afc4f7c326
authorSimon Hengel <sol@typeful.net>
dateSun 19 Aug 2018, 12:06 (8 years ago)
parent8d491e4
src/Data/Yaml.hs+3−1
@@ -183,7 +183,9 @@ decodeFileEither
183183 -> IO (Either ParseException a)
184184decodeFileEither = fmap (fmap snd) . decodeFileWithWarnings
185185
186−-- |
186+-- | A version of `decodeFileEither` that returns warnings along with the parse
187+-- result.
188+--
187189-- @since 0.10.0
188190decodeFileWithWarnings
189191 :: FromJSON a
src/Data/Yaml/Include.hs+3−1
@@ -83,7 +83,9 @@ decodeFileEither
8383 -> IO (Either ParseException a)
8484decodeFileEither = fmap (fmap snd) . decodeFileWithWarnings
8585
86−-- |
86+-- | A version of `decodeFileEither` that returns warnings along with the parse
87+-- result.
88+--
8789-- @since 0.10.0
8890decodeFileWithWarnings
8991 :: FromJSON a