Parser

Documentation

type CharP a = Parser Char aSource

data Parser t a Source

Instances

Monad (Parser t) 

between :: Parser t a -> Parser t b -> Parser t c -> Parser t cSource

char :: Char -> CharP CharSource

followedBy :: Parser t a -> Parser t b -> Parser t aSource

many :: Parser t a -> Parser t [a]Source

many1 :: Parser t a -> Parser t [a]Source

noneof :: String -> CharP CharSource

oneof :: String -> CharP CharSource

parse :: Parser t a -> [t] -> Maybe aSource

sat :: (t -> Bool) -> Parser t tSource

test :: Parser t a -> [t] -> aSource

token :: (t -> Maybe a) -> Parser t aSource

(<|>) :: Parser t a -> Parser t a -> Parser t aSource