mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Remove type alias WriterProperties.
I don't think this aids clarity, and anyway it's not exported.
This commit is contained in:
@@ -41,12 +41,11 @@ data ScriptingEngine = ScriptingEngine
|
||||
-- ^ Function to parse input into a 'Pandoc' document.
|
||||
|
||||
, engineWriteCustom :: forall m. (PandocMonad m, MonadIO m)
|
||||
=> FilePath -> m (WriterProperties m)
|
||||
=> FilePath
|
||||
-> m (Writer m, ExtensionsConfig, m (Template Text))
|
||||
-- ^ Invoke the given script file to convert to any custom format.
|
||||
}
|
||||
|
||||
type WriterProperties m = (Writer m, ExtensionsConfig, m (Template Text))
|
||||
|
||||
noEngine :: ScriptingEngine
|
||||
noEngine = ScriptingEngine
|
||||
{ engineName = "none"
|
||||
|
||||
Reference in New Issue
Block a user