Copyright | (c) 2008-2010 Robert Greayer 2012 Brent Yorgey |
---|---|
License | GPL (see LICENSE) |
Maintainer | Brent Yorgey <byorgey@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
Configuation and command-line options.
- data BlogLiterately = BlogLiterately {
- _style :: Maybe String
- _hsHighlight :: Maybe HsHighlight
- _otherHighlight :: Maybe Bool
- _litHaskell :: Maybe Bool
- _toc :: Maybe Bool
- _rawlatex :: Maybe Bool
- _wplatex :: Maybe Bool
- _math :: Maybe String
- _ghci :: Maybe Bool
- _uploadImages :: Maybe Bool
- _categories :: [String]
- _tags :: [String]
- _blogid :: Maybe String
- _profile :: Maybe String
- _blog :: Maybe String
- _user :: Maybe String
- _password :: Maybe String
- _title :: Maybe String
- _file :: Maybe String
- _format :: Maybe String
- _postid :: Maybe String
- _page :: Maybe Bool
- _publish :: Maybe Bool
- _htmlOnly :: Maybe Bool
- _citations :: Maybe Bool
- _xtra :: [String]
- blOpts :: BlogLiterately
- style :: Lens' BlogLiterately (Maybe String)
- hsHighlight :: Lens' BlogLiterately (Maybe HsHighlight)
- otherHighlight :: Lens' BlogLiterately (Maybe Bool)
- litHaskell :: Lens' BlogLiterately (Maybe Bool)
- toc :: Lens' BlogLiterately (Maybe Bool)
- rawlatex :: Lens' BlogLiterately (Maybe Bool)
- wplatex :: Lens' BlogLiterately (Maybe Bool)
- math :: Lens' BlogLiterately (Maybe String)
- ghci :: Lens' BlogLiterately (Maybe Bool)
- uploadImages :: Lens' BlogLiterately (Maybe Bool)
- categories :: Lens' BlogLiterately [String]
- tags :: Lens' BlogLiterately [String]
- blogid :: Lens' BlogLiterately (Maybe String)
- profile :: Lens' BlogLiterately (Maybe String)
- blog :: Lens' BlogLiterately (Maybe String)
- user :: Lens' BlogLiterately (Maybe String)
- password :: Lens' BlogLiterately (Maybe String)
- title :: Lens' BlogLiterately (Maybe String)
- file :: Lens' BlogLiterately (Maybe String)
- format :: Lens' BlogLiterately (Maybe String)
- postid :: Lens' BlogLiterately (Maybe String)
- page :: Lens' BlogLiterately (Maybe Bool)
- publish :: Lens' BlogLiterately (Maybe Bool)
- htmlOnly :: Lens' BlogLiterately (Maybe Bool)
- citations :: Lens' BlogLiterately (Maybe Bool)
- xtra :: Lens' BlogLiterately [String]
- style' :: BlogLiterately -> String
- hsHighlight' :: BlogLiterately -> HsHighlight
- otherHighlight' :: BlogLiterately -> Bool
- litHaskell' :: BlogLiterately -> Bool
- toc' :: BlogLiterately -> Bool
- rawlatex' :: BlogLiterately -> Bool
- wplatex' :: BlogLiterately -> Bool
- math' :: BlogLiterately -> String
- ghci' :: BlogLiterately -> Bool
- uploadImages' :: BlogLiterately -> Bool
- blogid' :: BlogLiterately -> String
- profile' :: BlogLiterately -> String
- blog' :: BlogLiterately -> String
- user' :: BlogLiterately -> String
- password' :: BlogLiterately -> String
- title' :: BlogLiterately -> String
- file' :: BlogLiterately -> String
- format' :: BlogLiterately -> String
- postid' :: BlogLiterately -> String
- page' :: BlogLiterately -> Bool
- publish' :: BlogLiterately -> Bool
- htmlOnly' :: BlogLiterately -> Bool
- citations' :: BlogLiterately -> Bool
BlogLiterately options record
data BlogLiterately Source #
Configuration record (and command-line options) for BlogLiterately
.
BlogLiterately | |
|
blOpts :: BlogLiterately Source #
Command-line configuration for use with cmdargs
.
Lenses
We derive lenses for all the BlogLiterately
fields using the
lens
library.
Default accessors
Some convenient accessors that strip off the Maybe and return an appropriate default value.
style' :: BlogLiterately -> String Source #
otherHighlight' :: BlogLiterately -> Bool Source #
litHaskell' :: BlogLiterately -> Bool Source #
toc' :: BlogLiterately -> Bool Source #
rawlatex' :: BlogLiterately -> Bool Source #
wplatex' :: BlogLiterately -> Bool Source #
math' :: BlogLiterately -> String Source #
ghci' :: BlogLiterately -> Bool Source #
uploadImages' :: BlogLiterately -> Bool Source #
blogid' :: BlogLiterately -> String Source #
profile' :: BlogLiterately -> String Source #
blog' :: BlogLiterately -> String Source #
user' :: BlogLiterately -> String Source #
password' :: BlogLiterately -> String Source #
title' :: BlogLiterately -> String Source #
file' :: BlogLiterately -> String Source #
format' :: BlogLiterately -> String Source #
postid' :: BlogLiterately -> String Source #
page' :: BlogLiterately -> Bool Source #
publish' :: BlogLiterately -> Bool Source #
htmlOnly' :: BlogLiterately -> Bool Source #
citations' :: BlogLiterately -> Bool Source #