Copyright | (c) 2018-2022 Kowainik |
---|---|
License | MPL-2.0 |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
Stability | Stable |
Portability | Portable |
Safe Haskell | Safe-Inferred |
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
Generic TomlParseError Source # | |
Defined in Toml.Parser type Rep TomlParseError :: Type -> Type # from :: TomlParseError -> Rep TomlParseError x # to :: Rep TomlParseError x -> TomlParseError # | |
Show TomlParseError Source # | |
Defined in Toml.Parser showsPrec :: Int -> TomlParseError -> ShowS # show :: TomlParseError -> String # showList :: [TomlParseError] -> ShowS # | |
NFData TomlParseError Source # | |
Defined in Toml.Parser rnf :: TomlParseError -> () # | |
Eq TomlParseError Source # | |
Defined in Toml.Parser (==) :: TomlParseError -> TomlParseError -> Bool # (/=) :: TomlParseError -> TomlParseError -> Bool # | |
type Rep TomlParseError Source # | |
Defined in Toml.Parser type Rep TomlParseError = D1 ('MetaData "TomlParseError" "Toml.Parser" "tomland-1.3.3.3-Ih5ryp7Jmpp9EbGekxhWoS" 'True) (C1 ('MetaCons "TomlParseError" 'PrefixI 'True) (S1 ('MetaSel ('Just "unTomlParseError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |