iCalendar-0.4.1.0: iCalendar data types, parser, and printer.
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

Instances

Instances details
Default DecodingFunctions Source #

UTF8.

Instance details

Defined in Text.ICalendar.Parser.Common