parsec-2.1.0.1: Monadic parser combinators
Source code
Contents
Index
Text.ParserCombinators.Parsec.Combinator
Portability
portable
Stability
provisional
Maintainer
daan@cs.uu.nl
Description
Commonly used generic combinators
Documentation
choice
:: [
GenParser
tok st a] ->
GenParser
tok st a
Source
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 a
Source
option
:: a ->
GenParser
tok st a ->
GenParser
tok st a
Source
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 a
Source
chainl1
::
GenParser
tok st a ->
GenParser
tok st (a -> a -> a) ->
GenParser
tok st a
Source
chainr
::
GenParser
tok st a ->
GenParser
tok st (a -> a -> a) -> a ->
GenParser
tok st a
Source
chainr1
::
GenParser
tok st a ->
GenParser
tok st (a -> a -> a) ->
GenParser
tok st a
Source
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 a
Source
anyToken
::
Show
tok =>
GenParser
tok st tok
Source
Produced by
Haddock
version 0.9