summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc.hs
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2022-09-29 09:45:14 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2022-09-30 08:33:40 -0700
commitddaadc88bc7e09fdff35fcf100a0f9fbe5d17728 (patch)
treebbddc6be332d8edcd5d78743b7ca259253bc07a3 /src/Text/Pandoc.hs
parente099de1d4d2f4ca865596a6608774c7c0940a0d9 (diff)
[API Change] Rename `pandocVersion` to `pandocVersionText`...
and add a new `pandocVersion` value with type `Version`. This is consistent with the type used for `pandocTypesVersion` and allows to use the value where a Version type is required.
Diffstat (limited to 'src/Text/Pandoc.hs')
-rw-r--r--src/Text/Pandoc.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc.hs b/src/Text/Pandoc.hs
index 239e6d5e9..690cdd99d 100644
--- a/src/Text/Pandoc.hs
+++ b/src/Text/Pandoc.hs
@@ -57,6 +57,7 @@ module Text.Pandoc
, module Text.Pandoc.Templates
-- * Miscellaneous
, pandocVersion
+ , pandocVersionText
) where
import Text.Pandoc.Class
@@ -66,6 +67,6 @@ import Text.Pandoc.Generic
import Text.Pandoc.Logging
import Text.Pandoc.Options
import Text.Pandoc.Readers
-import Text.Pandoc.Shared (pandocVersion)
+import Text.Pandoc.Shared (pandocVersion, pandocVersionText)
import Text.Pandoc.Templates
import Text.Pandoc.Writers