Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Parser t e | t -> e where Source #
satisfy, satisfyWith, satisfyChar, string, try, char, (<?>), rational
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 #