hw-string-parse-0.0.0.4: String parser
HaskellWorks.Data.String.Parse
newtype Parser a Source #
Constructors
Fields
Instances
Methods
(>>=) :: Parser a -> (a -> Parser b) -> Parser b #
(>>) :: Parser a -> Parser b -> Parser b #
return :: a -> Parser a #
fail :: String -> 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 #
(*>) :: 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 #