Parsimony

Basic Types

data Parser t a

Applying Parsers

parse

parseSource

runParser

Choices

(<|>)

try

choice

Repetition

many

many1

skipMany

skipMany1

match

sepBy

sepBy1

endBy

endBy1

sepEndBy

sepEndBy1

manyTill

count

foldMany

Optoinal content

option

optional

Delimeters and Combinators

(<*>)

(<*)

(*>)

(<$>)

(<$)

pure

between

skip

eof

Look Ahead

notFollowedBy

notFollowedBy'

lookAhead

anyToken

Errors

data ParseError

errorPos

(<?>)

unexpected

empty

parseError

labels

Parser State

data State t

setState

updateState

mapState

getInput

setInput

updateInput

data SourcePos

type SourceName

type Line

type Column

getPosition

setPosition

updatePosition

Primitive Parsers

type PrimParser s a

data Reply s a

primParser