Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
module Text.Parsec.Combinator
module Text.Parsec.Prim
module Text.Parsec.Pos
type Parser source result = source -> Either SomethingBad result Source
type SomethingBad = (SourcePos, [String]) Source
mkError :: ParseError -> Either SomethingBad b Source
sourceToken :: (Show t, Stream (Tokens t) m (SourcePos, t)) => (t -> Maybe a) -> ParsecT [(SourcePos, t)] u m a Source