From a81613df346818ff31889289b4ef82708dd1f73a Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Mon, 15 Oct 2007 21:21:52 +0000 Subject: Removed 'version' constant from Main.hs; added 'pandocVersion' to Text.Pandoc. This way all programs that use pandoc libraries will have access to the version number. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1052 788f1e2b-df1e-0410-8736-df70ead52e1b --- src/Text/Pandoc.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Text') diff --git a/src/Text/Pandoc.hs b/src/Text/Pandoc.hs index df73ed325..7633bf7ef 100644 --- a/src/Text/Pandoc.hs +++ b/src/Text/Pandoc.hs @@ -83,6 +83,8 @@ module Text.Pandoc , module Text.Pandoc.Writers.DefaultHeaders -- * Functions for converting to and from UTF-8 , module Text.Pandoc.UTF8 + -- * Version + , pandocVersion ) where import Text.Pandoc.Definition @@ -103,3 +105,6 @@ import Text.Pandoc.Writers.DefaultHeaders import Text.Pandoc.UTF8 import Text.Pandoc.Shared +-- | Version number of pandoc library. +pandocVersion :: String +pandocVersion = "0.45" -- cgit v1.2.3