Remove type alias WriterProperties.

I don't think this aids clarity, and anyway it's not exported.
This commit is contained in:
John MacFarlane
2022-10-25 10:28:25 -07:00
parent 6e1cfa2af5
commit f282f0bd37
+2 -3
View File
@@ -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"