hw-parser-0.1.0.2: Simple parser support

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Parser

Documentation

class Parser t e | t -> e where Source #

Methods

satisfy :: (e -> Bool) -> Parser t e Source #

satisfyWith :: (e -> a) -> (a -> Bool) -> Parser t a Source #

satisfyChar :: (Char -> Bool) -> Parser t Char Source #

string :: t -> Parser t t Source #

try :: Parser t a -> Parser t a Source #

char :: Char -> Parser t Char Source #

(<?>) :: Parser t Char -> String -> Parser t Char Source #

rational :: Fractional f => Parser t f Source #