hw-string-parse-0.0.0.5: String parser
Safe HaskellSafe-Inferred
LanguageHaskell2010

HaskellWorks.Data.String.Parse

Documentation

newtype Parser a Source #

Constructors

Parser 

Fields

Instances

Instances details
Monad Parser Source # 
Instance details

Defined in HaskellWorks.Data.String.Parse

Methods

(>>=) :: Parser a -> (a -> Parser b) -> Parser b #

(>>) :: Parser a -> Parser b -> Parser b #

return :: a -> Parser a #

Functor Parser Source # 
Instance details

Defined in HaskellWorks.Data.String.Parse

Methods

fmap :: (a -> b) -> Parser a -> Parser b #

(<$) :: a -> Parser b -> Parser a #

Applicative Parser Source # 
Instance details

Defined in HaskellWorks.Data.String.Parse

Methods

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 #

Alternative Parser Source # 
Instance details

Defined in HaskellWorks.Data.String.Parse

Methods

empty :: Parser a #

(<|>) :: Parser a -> Parser a -> Parser a #

some :: Parser a -> Parser [a] #

many :: Parser a -> Parser [a] #

MonadPlus Parser Source # 
Instance details

Defined in HaskellWorks.Data.String.Parse

Methods

mzero :: Parser a #

mplus :: Parser a -> Parser a -> Parser a #

bind :: Parser a -> (a -> Parser b) -> Parser b Source #

unit :: a -> Parser a Source #