iCalendar-0.3: iCalendar data types, parser, and printer.

Safe HaskellNone

Text.ICalendar.Parser

Synopsis

Documentation

parseICal :: DecodingFunctions -> FilePath -> ByteString -> Either String ([VCalendar], [String])Source

Parse a ByteString containing iCalendar data. Returns either an error, or a tuple of the result and a list of warnings.

parseICalFile :: DecodingFunctions -> FilePath -> IO (Either String ([VCalendar], [String]))Source

Parse an iCalendar file.

data DecodingFunctions Source

Functions for decoding ByteStrings into Text.

Instances