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

Safe HaskellNone
LanguageHaskell98

Text.ICalendar.Parser

Synopsis

Documentation

parseICalendar Source #

Arguments

:: DecodingFunctions 
-> FilePath

Used in error messages.

-> ByteString 
-> Either String ([VCalendar], [String]) 

Parse a ByteString containing iCalendar data.

Returns either an error, or a tuple of the result and a list of warnings.

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

Deprecated: Use parseICalendar instead

Deprecated synonym for parseICalendar

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

Deprecated: Use parseICalendarFile instead

Deprecated synonym for parseICalendarFile

data DecodingFunctions Source #

Functions for decoding ByteStrings into Text.