ical-0.0.1: iCalendar format parser and org-mode converter.

Safe HaskellNone
LanguageHaskell2010

ICal

Contents

Description

Basic parser for ICalendar format.

Synopsis

Top-level functions

tokenizeObjectFromFile :: FilePath -> IO Object Source #

Tokenizer a complete document from a .ics file.

tokenizeObjectFromText :: Text -> Either String Object Source #

Tokenizer a complete document.

tokenizeAesonFromText :: FromJSON a => Text -> Either String a Source #

Tokenize an Aeson instance from the document.

Types

data Object Source #

Tree for representing iCal file.

Constructors

Property !Text !Text 
Object !Text ![Object] 

data Line Source #

An iCalendar line.

Constructors

Begin !Text 
End !Text 
Pair !Text !Text 

Instances