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