HaskellWorks.Data.String.Parse
newtype Parser a Source #
Constructors
Fields
Defined in HaskellWorks.Data.String.Parse
Methods
(>>=) :: Parser a -> (a -> Parser b) -> Parser b #
(>>) :: Parser a -> Parser b -> Parser b #
return :: a -> Parser a #
fmap :: (a -> b) -> Parser a -> Parser b #
(<$) :: a -> Parser b -> Parser a #
pure :: a -> Parser a #
(<*>) :: Parser (a -> b) -> Parser a -> Parser b #
liftA2 :: (a -> b -> c) -> Parser a -> Parser b -> Parser c #
(*>) :: Parser a -> Parser b -> Parser b #
(<*) :: Parser a -> Parser b -> Parser a #
empty :: Parser a #
(<|>) :: Parser a -> Parser a -> Parser a #
some :: Parser a -> Parser [a] #
many :: Parser a -> Parser [a] #
mzero :: Parser a #
mplus :: Parser a -> Parser a -> Parser a #
runParser :: Parser a -> String -> a Source #
item :: Parser Char Source #
bind :: Parser a -> (a -> Parser b) -> Parser b Source #
unit :: a -> Parser a Source #
combine :: Parser a -> Parser a -> Parser a Source #
failure :: Parser a Source #
option :: Parser a -> Parser a -> Parser a Source #
char :: Char -> Parser Char Source #