HaskellNet-0.2.4: network related libraries such as POP3, SMTP, IMAP

Portabilityportable
Stabilitystable
Maintainermukai@jmuk.org

Text.IMAPParsers

Description

Parsers for IMAP server responses

Synopsis

Documentation

data MailboxStatus Source

the query data type for the status command

Constructors

MESSAGES

the number of messages in the mailbox

RECENT

the number of messages with the Recent flag set

UIDNEXT

the next unique identifier value of the mailbox

UIDVALIDITY

the unique identifier validity value of the mailbox

data RespDerivs Source

Constructors

RespDerivs 

Fields

dvFlags :: Result RespDerivs [Flag]
 
advTag :: Result RespDerivs String
 
advChar :: Result RespDerivs Char
 
advPos :: Pos
 

Instances

Derivs RespDerivs 

eval :: (RespDerivs -> Result RespDerivs r) -> String -> ByteString -> rSource

eval' :: (RespDerivs -> Result RespDerivs r) -> String -> String -> rSource

atomChar :: Derivs d => Parser d CharSource

crlfP :: Derivs d => Parser d StringSource

lookups :: Eq a => a -> [(a, b)] -> [b]Source

catRights :: [Either a b] -> [b]Source

catLefts :: [Either a b] -> [a]Source

getLeft :: Either a b -> aSource