Copyright | (c) 2018-2020 Kowainik |
---|---|
License | MPL-2.0 |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
Parser for text to TOML AST.
Since: 0.0.0
Synopsis
- newtype TomlParseError = TomlParseError {}
- parse :: Text -> Either TomlParseError TOML
- parseKey :: Text -> Either TomlParseError Key
Documentation
newtype TomlParseError Source #
Pretty parse exception for parsing toml.
Since: 1.3.0.0
Instances
Eq TomlParseError Source # | |
Defined in Toml.Parser (==) :: TomlParseError -> TomlParseError -> Bool # (/=) :: TomlParseError -> TomlParseError -> Bool # | |
Show TomlParseError Source # | |
Defined in Toml.Parser showsPrec :: Int -> TomlParseError -> ShowS # show :: TomlParseError -> String # showList :: [TomlParseError] -> ShowS # | |
Generic TomlParseError Source # | |
Defined in Toml.Parser type Rep TomlParseError :: Type -> Type # from :: TomlParseError -> Rep TomlParseError x # to :: Rep TomlParseError x -> TomlParseError # | |
NFData TomlParseError Source # | |
Defined in Toml.Parser rnf :: TomlParseError -> () # | |
type Rep TomlParseError Source # | |
Defined in Toml.Parser type Rep TomlParseError = D1 ('MetaData "TomlParseError" "Toml.Parser" "tomland-1.3.1.0-inplace" 'True) (C1 ('MetaCons "TomlParseError" 'PrefixI 'True) (S1 ('MetaSel ('Just "unTomlParseError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |