parsec-2.1.0.1: Monadic parser combinatorsSource codeContentsIndex
Text.ParserCombinators.Parsec.Combinator
Portabilityportable
Stabilityprovisional
Maintainerdaan@cs.uu.nl
Description
Commonly used generic combinators
Documentation
choice :: [GenParser tok st a] -> GenParser tok st aSource
count :: Int -> GenParser tok st a -> GenParser tok st [a]Source
between :: GenParser tok st open -> GenParser tok st close -> GenParser tok st a -> GenParser tok st aSource
option :: a -> GenParser tok st a -> GenParser tok st aSource
optionMaybe :: GenParser tok st a -> GenParser tok st (Maybe a)Source
optional :: GenParser tok st a -> GenParser tok st ()Source
skipMany1 :: GenParser tok st a -> GenParser tok st ()Source
many1 :: GenParser tok st a -> GenParser tok st [a]Source
sepBy :: GenParser tok st a -> GenParser tok st sep -> GenParser tok st [a]Source
sepBy1 :: GenParser tok st a -> GenParser tok st sep -> GenParser tok st [a]Source
endBy :: GenParser tok st a -> GenParser tok st sep -> GenParser tok st [a]Source
endBy1 :: GenParser tok st a -> GenParser tok st sep -> GenParser tok st [a]Source
sepEndBy :: GenParser tok st a -> GenParser tok st sep -> GenParser tok st [a]Source
sepEndBy1 :: GenParser tok st a -> GenParser tok st sep -> GenParser tok st [a]Source
chainl :: GenParser tok st a -> GenParser tok st (a -> a -> a) -> a -> GenParser tok st aSource
chainl1 :: GenParser tok st a -> GenParser tok st (a -> a -> a) -> GenParser tok st aSource
chainr :: GenParser tok st a -> GenParser tok st (a -> a -> a) -> a -> GenParser tok st aSource
chainr1 :: GenParser tok st a -> GenParser tok st (a -> a -> a) -> GenParser tok st aSource
eof :: Show tok => GenParser tok st ()Source
notFollowedBy :: Show tok => GenParser tok st tok -> GenParser tok st ()Source
manyTill :: GenParser tok st a -> GenParser tok st end -> GenParser tok st [a]Source
lookAhead :: GenParser tok st a -> GenParser tok st aSource
anyToken :: Show tok => GenParser tok st tokSource
Produced by Haddock version 2.4.2