Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ParseResult a Source #
Instances
Functor ParseResult Source # | |
Defined in Parser fmap :: (a -> b) -> ParseResult a -> ParseResult b # (<$) :: a -> ParseResult b -> ParseResult a # | |
Eq a => Eq (ParseResult a) Source # | |
Defined in Parser (==) :: ParseResult a -> ParseResult a -> Bool # (/=) :: ParseResult a -> ParseResult a -> Bool # | |
Show a => Show (ParseResult a) Source # | |
Defined in Parser showsPrec :: Int -> ParseResult a -> ShowS # show :: ParseResult a -> String # showList :: [ParseResult a] -> ShowS # |
data ParseError Source #
Instances
Eq ParseError Source # | |
Defined in Parser (==) :: ParseError -> ParseError -> Bool # (/=) :: ParseError -> ParseError -> Bool # | |
Show ParseError Source # | |
Defined in Parser showsPrec :: Int -> ParseError -> ShowS # show :: ParseError -> String # showList :: [ParseError] -> ShowS # |
errorParser :: ParseError -> Parser a Source #