BlogLiterately-0.8.8: A tool for posting Haskelly articles to blogs
Copyright(c) 2013 Brent Yorgey
LicenseGPL (see LICENSE)
MaintainerBrent Yorgey <byorgey@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Text.BlogLiterately.Options.Parse

Description

Parsing configuration options from special [BLOpts] blocks.

Synopsis

Documentation

readBLOptions :: String -> ([ParseError], BlogLiterately) Source #

Convert the contents of a [BLOpts] block into an options record and a list of parse errors.

readBLOption :: String -> Either ParseError BlogLiterately Source #

Read a single line from a [BLOpts] block.

parseBLOption :: Parser BlogLiterately Source #

Parse a single line from a [BLOpts] block.