diff options
| author | Albert Krewinkel <albert@zeitkraut.de> | 2023-03-19 13:44:59 +0100 |
|---|---|---|
| committer | Albert Krewinkel <albert@zeitkraut.de> | 2023-03-19 15:09:23 +0100 |
| commit | 7743c5287a54abe71da8fb316a34cb9f1f37c358 (patch) | |
| tree | 9f3859e6badf29a78bbbd5b85ee4efed62ab7789 /pandoc-lua-engine/src/Text/Pandoc/Lua/Module/CLI.hs | |
| parent | 07c56322c24062082b798961573f0dbb22c4937b (diff) | |
Lua: add info on when functions became available in pandoc
Diffstat (limited to 'pandoc-lua-engine/src/Text/Pandoc/Lua/Module/CLI.hs')
| -rw-r--r-- | pandoc-lua-engine/src/Text/Pandoc/Lua/Module/CLI.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/CLI.hs b/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/CLI.hs index 37aa719f7..c126d5338 100644 --- a/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/CLI.hs +++ b/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/CLI.hs @@ -13,6 +13,7 @@ module Text.Pandoc.Lua.Module.CLI ) where import Control.Applicative ((<|>)) +import Data.Version (makeVersion) import HsLua import HsLua.REPL (defaultConfig, replWithEnv, setup) import Text.Pandoc.App (defaultOpts, options, parseOptionsFromArgs) @@ -47,8 +48,9 @@ documentedModule = Module , "Typically this function will be used in stand-alone pandoc Lua" , "scripts, taking the list of arguments from the global `arg`." ] + `since` makeVersion [3, 0] - , repl + , repl `since` makeVersion [3, 1, 2] ] , moduleOperations = [] , moduleTypeInitializers = [] |
