Safe Haskell | None |
---|
- parseICal :: DecodingFunctions -> FilePath -> ByteString -> Either String ([VCalendar], [String])
- parseICalFile :: DecodingFunctions -> FilePath -> IO (Either String ([VCalendar], [String]))
- data DecodingFunctions = DecodingFunctions {
- dfBS2Text :: ByteString -> Text
- dfBS2IText :: ByteString -> CI Text
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 ByteString
s into Text
.
DecodingFunctions | |
|
Default DecodingFunctions | UTF8. |