| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Toml.Parser
Description
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.
Constructors
| ParseException | |
Fields | |
Instances
| Eq ParseException Source # | |
Defined in Toml.Parser Methods (==) :: ParseException -> ParseException -> Bool # (/=) :: ParseException -> ParseException -> Bool # | |
| Show ParseException Source # | |
Defined in Toml.Parser Methods showsPrec :: Int -> ParseException -> ShowS # show :: ParseException -> String # showList :: [ParseException] -> ShowS # | |
| Generic ParseException Source # | |
Defined in Toml.Parser Associated Types type Rep ParseException :: Type -> Type # Methods from :: ParseException -> Rep ParseException x # to :: Rep ParseException x -> ParseException # | |
| NFData ParseException Source # | |
Defined in Toml.Parser Methods rnf :: ParseException -> () # | |
| type Rep ParseException Source # | |
Defined in Toml.Parser type Rep ParseException = D1 ('MetaData "ParseException" "Toml.Parser" "tomland-1.2.0.0-inplace" 'True) (C1 ('MetaCons "ParseException" 'PrefixI 'True) (S1 ('MetaSel ('Just "unParseException") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |