hw-parser-0.0.0.3: Simple parser support

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Parser

Documentation

class MonoTraversable t => Parser t where Source #

Minimal complete definition

satisfy, satisfyWith, satisfyChar, string, try, char, (<?>), rational

Methods

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

satisfyWith :: (Element t -> 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 #