ContentsIndex
PandocCodeDown
Contents
Parameters
Formats
Parameter type
Get functions for parameter lists
Set functions for parameter lists
Parsing and showing parameters lists
The converters
Help functions
Synopsis
type Format = String
data TypeOfText
= MARKDOWN
| CODE
| DOCUMENT
typeOfText :: Format -> TypeOfText
data Parameter
= INPUT [FilePath]
| OUTPUT (Maybe FilePath)
| READFROM Format
| WRITETO Format
| HELP String
| OPTION (String, [String])
getReadfrom :: [Parameter] -> Maybe Format
getWriteto :: [Parameter] -> Maybe Format
getInput :: [Parameter] -> [FilePath]
getOutput :: [Parameter] -> Maybe FilePath
getHelp :: [Parameter] -> Maybe String
setReadfrom :: [Parameter] -> Format -> [Parameter]
setWriteto :: [Parameter] -> Format -> [Parameter]
setInput :: [Parameter] -> [FilePath] -> [Parameter]
setOutput :: [Parameter] -> Maybe FilePath -> [Parameter]
showParameters :: [Parameter] -> String
parseParameters :: String -> [Parameter]
parseParametersIO :: IO [Parameter]
pandoc' :: [Parameter] -> IO ()
codeDown' :: [Parameter] -> IO ()
pandoc :: String -> IO ()
codeDown :: String -> IO ()
codeDownIO :: IO ()
printHelp :: String -> IO ()
Parameters
Formats
type Format = String
data TypeOfText
Constructors
MARKDOWN
CODE
DOCUMENT
show/hide Instances
typeOfText :: Format -> TypeOfText
Parameter type
data Parameter
Constructors
INPUT [FilePath]
OUTPUT (Maybe FilePath)
READFROM Format
WRITETO Format
HELP String
OPTION (String, [String])
show/hide Instances
Get functions for parameter lists
getReadfrom :: [Parameter] -> Maybe Format
getWriteto :: [Parameter] -> Maybe Format
getInput :: [Parameter] -> [FilePath]
getOutput :: [Parameter] -> Maybe FilePath
getHelp :: [Parameter] -> Maybe String
Set functions for parameter lists
setReadfrom :: [Parameter] -> Format -> [Parameter]
setWriteto :: [Parameter] -> Format -> [Parameter]
setInput :: [Parameter] -> [FilePath] -> [Parameter]
setOutput :: [Parameter] -> Maybe FilePath -> [Parameter]
Parsing and showing parameters lists
showParameters :: [Parameter] -> String
parseParameters :: String -> [Parameter]
parseParametersIO :: IO [Parameter]
The converters
pandoc' :: [Parameter] -> IO ()
codeDown' :: [Parameter] -> IO ()
pandoc :: String -> IO ()
codeDown :: String -> IO ()
codeDownIO :: IO ()
Help functions
printHelp :: String -> IO ()
Produced by Haddock version 2.4.2