Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ParseException = ParseException Text
- 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-0.5.0-LfjG6U9ib3bHsNLsVqknKF" True) (C1 (MetaCons "ParseException" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) |