Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data FinalResult i a = FinalResult i (Either ParseError a)
- finalizeResult :: IResult i a -> FinalResult i a
- data ParseError = ParseError [String] String
- showParseError :: ParseError -> String
- data BufferedInput m i = BufferedInput i (m i)
- data RestorableInput m i = RestorableInput (m i) (i -> m ())
Documentation
data FinalResult i a Source #
FinalResult | |
|
Instances
(Show i, Show a) => Show (FinalResult i a) Source # | |
Defined in Data.Attoparsec.Run showsPrec :: Int -> FinalResult i a -> ShowS # show :: FinalResult i a -> String # showList :: [FinalResult i a] -> ShowS # | |
(Eq i, Eq a) => Eq (FinalResult i a) Source # | |
Defined in Data.Attoparsec.Run (==) :: FinalResult i a -> FinalResult i a -> Bool # (/=) :: FinalResult i a -> FinalResult i a -> Bool # | |
(Ord i, Ord a) => Ord (FinalResult i a) Source # | |
Defined in Data.Attoparsec.Run compare :: FinalResult i a -> FinalResult i a -> Ordering # (<) :: FinalResult i a -> FinalResult i a -> Bool # (<=) :: FinalResult i a -> FinalResult i a -> Bool # (>) :: FinalResult i a -> FinalResult i a -> Bool # (>=) :: FinalResult i a -> FinalResult i a -> Bool # max :: FinalResult i a -> FinalResult i a -> FinalResult i a # min :: FinalResult i a -> FinalResult i a -> FinalResult i a # |
:: IResult i a | |
-> FinalResult i a |
data ParseError Source #
Instances
Show ParseError Source # | |
Defined in Data.Attoparsec.Run showsPrec :: Int -> ParseError -> ShowS # show :: ParseError -> String # showList :: [ParseError] -> ShowS # | |
Eq ParseError Source # | |
Defined in Data.Attoparsec.Run (==) :: ParseError -> ParseError -> Bool # (/=) :: ParseError -> ParseError -> Bool # | |
Ord ParseError Source # | |
Defined in Data.Attoparsec.Run compare :: ParseError -> ParseError -> Ordering # (<) :: ParseError -> ParseError -> Bool # (<=) :: ParseError -> ParseError -> Bool # (>) :: ParseError -> ParseError -> Bool # (>=) :: ParseError -> ParseError -> Bool # max :: ParseError -> ParseError -> ParseError # min :: ParseError -> ParseError -> ParseError # |
showParseError :: ParseError -> String Source #
Format a parse error in a matter suitable for displaying in log output
data BufferedInput m i Source #
BufferedInput | |
|
data RestorableInput m i Source #
RestorableInput | |
|