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