WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.

Safe HaskellSafe-Infered

WASH.Mail.RFC2822

Synopsis

Documentation

crLf :: ParsecT [Char] u Identity StringSource

fws :: ParsecT String () Identity [Char]Source

ws1 :: Parser CharSource

lineChar :: Parser CharSource

headerNameChar :: Parser CharSource

data DateTime2822 Source

parse contents of Date field according to RFC2822

Constructors

DateTime2822 (Maybe DayOfWeek) Date2822 Time2822 

Instances

parseDateTime :: ParsecT [Char] () Identity DateTime2822Source

type DayOfWeek = IntSource

showsDayOfWeek :: (Eq a, Num a) => a -> ShowSSource

parseDayOfWeek :: ParsecT [Char] u Identity DayOfWeekSource

data Date2822 Source

Constructors

Date2822 Int Int Int 

Instances

Show Date2822 

parseDate :: ParsecT String () Identity Date2822Source

showsDay :: Show a => a -> ShowSSource

parseDay :: ParsecT String () Identity IntSource

monthList :: [[Char]]Source

parseMonthName :: ParsecT [Char] u Identity IntSource

showsMonth :: Int -> ShowSSource

parseMonth :: ParsecT String () Identity IntSource

showsYear :: (Num a, Show a) => a -> ShowSSource

parseYear :: ParsecT String u Identity IntSource

data Time2822 Source

Instances

Show Time2822 

parseTime :: ParsecT [Char] () Identity Time2822Source

data TimeOfDay2822 Source

Constructors

TimeOfDay2822 Int Int Int 

Instances

parseTimeOfDay :: ParsecT [Char] u Identity TimeOfDay2822Source

parseZoneInfo :: ParsecT [Char] u Identity Zone2822Source

data Zone2822 Source

Constructors

Zone2822 Char Int Int 

Instances

Show Zone2822 

parseZone :: ParsecT [Char] u Identity Zone2822Source

parseTwoDigits :: ParsecT [Char] u Identity IntSource