packages feed

htoml-megaparsec 2.1.0.1 → 2.1.0.2

raw patch · 2 files changed

+3/−1 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Text.Toml.Parser: anyStr :: (TomlM m) => Parser m Node
- Text.Toml.Parser: anyStr' :: (TomlM m) => Parser m Text
- Text.Toml.Parser: array :: (TomlM m) => Parser m Node
- Text.Toml.Parser: arrayOf :: (TomlM m) => Parser m Node -> Parser m Node
- Text.Toml.Parser: assignment :: (TomlM m) => Parser m (Text, Node)
- Text.Toml.Parser: basicStr :: (TomlM m) => Parser m Text
- Text.Toml.Parser: boolean :: (TomlM m) => Parser m Node
- Text.Toml.Parser: datetime :: (TomlM m) => Parser m Node
- Text.Toml.Parser: escSeq :: (TomlM m) => Parser m Char
- Text.Toml.Parser: float :: (TomlM m) => Parser m Node
- Text.Toml.Parser: headerValue :: (TomlM m) => Parser m [Text]
- Text.Toml.Parser: inlineTable :: (TomlM m) => Parser m (Either (Set (ErrorFancy Void)) Node)
- Text.Toml.Parser: integer :: (TomlM m) => Parser m Node
- Text.Toml.Parser: isSpc :: Char -> Bool
- Text.Toml.Parser: literalStr :: (TomlM m) => Parser m Text
- Text.Toml.Parser: maybeDupe :: Ord a => [a] -> Maybe a
- Text.Toml.Parser: multiBasicStr :: (TomlM m) => Parser m Text
- Text.Toml.Parser: multiLiteralStr :: (TomlM m) => Parser m Text
- Text.Toml.Parser: namedSection :: (TomlM m) => Parser m ([Text], Node)
- Text.Toml.Parser: parseOnly :: Parser Toml a -> Text -> Either TomlError a
- Text.Toml.Parser: signed :: (Num a, TomlM m) => Parser m a -> Parser m a
- Text.Toml.Parser: skipBlanks :: (TomlM m) => Parser m ()
- Text.Toml.Parser: table :: (TomlM m) => Parser m Table
- Text.Toml.Parser: tableArrayHeader :: (TomlM m) => Parser m [Text]
- Text.Toml.Parser: tableHeader :: (TomlM m) => Parser m [Text]
- Text.Toml.Parser: tomlDoc :: (TomlM m) => Parser m Table
- Text.Toml.Parser: type TomlError = ParseErrorBundle Text Void
- Text.Toml.Parser: unicodeHex :: (TomlM m) => Int -> Parser m Char
- Text.Toml.Parser: value :: (TomlM m) => Parser m (Either (Set (ErrorFancy Void)) Node)
- Text.Toml.Types: Explicit :: Explicitness
- Text.Toml.Types: Implicit :: Explicitness
- Text.Toml.Types: VArray :: VArray -> Node
- Text.Toml.Types: VBoolean :: Bool -> Node
- Text.Toml.Types: VDatetime :: UTCTime -> Node
- Text.Toml.Types: VFloat :: Double -> Node
- Text.Toml.Types: VInteger :: Int64 -> Node
- Text.Toml.Types: VString :: Text -> Node
- Text.Toml.Types: VTArray :: VTArray -> Node
- Text.Toml.Types: VTable :: Table -> Node
- Text.Toml.Types: data Explicitness
- Text.Toml.Types: data Node
- Text.Toml.Types: emptyTable :: Table
- Text.Toml.Types: insert :: (TomlM m) => Explicitness -> ([Text], Node) -> Table -> Parser m Table
- Text.Toml.Types: instance Control.DeepSeq.NFData Text.Toml.Types.Node
- Text.Toml.Types: instance GHC.Classes.Eq Text.Toml.Types.Node
- Text.Toml.Types: instance GHC.Generics.Generic Text.Toml.Types.Node
- Text.Toml.Types: instance GHC.Show.Show Text.Toml.Types.Node
- Text.Toml.Types: isExplicit :: Explicitness -> Bool
- Text.Toml.Types: throwParser :: (MonadPlus m, Alternative m, Ord e, MonadParsec e s m) => String -> m a
- Text.Toml.Types: type Parser m a = (MonadState (Set [Text]) m) => ParsecT Void Text m a
- Text.Toml.Types: type Table = HashMap Text Node
- Text.Toml.Types: type Toml = State (Set [Text])
- Text.Toml.Types: type TomlM m = (MonadState (Set [Text]) m)
- Text.Toml.Types: type VArray = Vector Node
- Text.Toml.Types: type VTArray = Vector Table
+ Text.Toml: VArray :: VArray -> Node
+ Text.Toml: VBoolean :: Bool -> Node
+ Text.Toml: VDatetime :: UTCTime -> Node
+ Text.Toml: VFloat :: Double -> Node
+ Text.Toml: VInteger :: Int64 -> Node
+ Text.Toml: VString :: Text -> Node
+ Text.Toml: VTArray :: VTArray -> Node
+ Text.Toml: VTable :: Table -> Node
+ Text.Toml: data Node
+ Text.Toml: parseErrorPretty :: (Stream s, ShowErrorComponent e) => ParseError s e -> String
+ Text.Toml: parseTomlDoc :: FilePath -> Text -> Either TomlError Table
+ Text.Toml: type Table = HashMap Text Node
+ Text.Toml: type TomlError = ParseErrorBundle Text Void
+ Text.Toml: type VArray = Vector Node
+ Text.Toml: type VTArray = Vector Table

Files

htoml-megaparsec.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.0 name: htoml-megaparsec-version: 2.1.0.1+version: 2.1.0.2 license: BSD3 license-file: LICENSE copyright: (c) 2013-2016 Cies Breijs, 2017-2018 Vanessa McHale
src/Text/Toml.hs view
@@ -3,6 +3,8 @@                  , Table                  , Node (..)                  , TomlError+                 , VTArray+                 , VArray                  ) where  import           Control.Composition