Copyright | © 2014 Parnell Springmeyer |
---|---|
License | All Rights Reserved |
Maintainer | Parnell Springmeyer <parnell@digitalmentat.com> |
Stability | stable |
Safe Haskell | None |
Language | Haskell2010 |
Parsing combinators for org-list headings.
- data Heading = Heading {}
- data Priority
- newtype State = State Text
- newtype Keyword = Keyword Text
- toPriority :: Text -> Priority
- heading :: Parser Text Heading
- headingLevel :: Parser Text Int
- headingPriority :: Parser Text (Maybe Priority)
- headingTitle :: Parser Text (Text, Maybe Keyword)
- headingKeyword :: Parser Text (Maybe Keyword)
Documentation
toPriority :: Text -> Priority Source
headingLevel :: Parser Text Int Source
Parse the asterisk indicated heading level until a space is reached.