packages feed

htoml-megaparsec 1.1.0.4 → 1.2.0.1

raw patch · 2 files changed

+6/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- Text.Megaparsec.CharRW: noneOf :: (Foldable f, MonadParsec e s m, Token s ~ Char) => f Char -> m Char
- Text.Megaparsec.CharRW: oneOf :: (Foldable f, MonadParsec e s m, Token s ~ Char) => f Char -> m Char
- Text.Toml: parseTomlDoc :: String -> Text -> Either TomlError Table
+ Text.Toml: parseTomlDoc :: FilePath -> Text -> Either TomlError Table

Files

htoml-megaparsec.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.18 name: htoml-megaparsec-version: 1.1.0.4+version: 1.2.0.1 license: BSD3 license-file: LICENSE copyright: (c) 2013-2016 Cies Breijs, 2017-2018 Vanessa McHale@@ -34,8 +34,9 @@         Text.Toml         Text.Toml.Parser         Text.Toml.Types-        Text.Megaparsec.CharRW     hs-source-dirs: src+    other-modules:+        Text.Megaparsec.CharRW     default-language: Haskell2010     ghc-options: -Wall     build-depends:
src/Text/Toml.hs view
@@ -11,5 +11,7 @@ -- | Parse a 'Text' that results in 'Either' a 'TomlError' -- containing the error message, or an internal representation -- of the document as a 'Table'.-parseTomlDoc :: String -> Text -> Either TomlError Table+parseTomlDoc :: FilePath -- ^ For error generation+             -> Text -- ^ TOML source+             -> Either TomlError Table parseTomlDoc = flip evalState mempty .* runParserT tomlDoc