Stability | stable |
---|---|
Maintainer | Parnell Springmeyer <parnell@digitalmentat.com> |
Safe Haskell | None |
Parsing combinators for org-list headings.
- data Heading = Heading {}
- data Priority
- newtype State = State Text.Text
- newtype Keyword = Keyword Text.Text
- newtype PropertyDrawer k v = PropertyDrawer (HashMap k v)
- toPriority :: Text.Text -> Priority
- heading :: TP.Parser Text.Text Heading
- headingLevel :: TP.Parser Text.Text Int
- headingPriority :: TP.Parser Text.Text (Maybe Priority)
- headingTitle :: TP.Parser Text.Text (Text.Text, Maybe Keyword)
- headingKeyword :: TP.Parser Text.Text (Maybe Keyword)
Documentation
newtype PropertyDrawer k v Source
PropertyDrawer (HashMap k v) |
(Eq k, Eq v) => Eq (PropertyDrawer k v) | |
(Show k, Show v) => Show (PropertyDrawer k v) |
headingLevel :: TP.Parser Text.Text IntSource
Parse the asterisk indicated heading level until a space is reached.
headingPriority :: TP.Parser Text.Text (Maybe Priority)Source