Version specifiers like `PANDOC_VERSION` and `PANDOC_API_VERSION` are turned into `Version` objects. The objects simplify version-appropriate comparisons while maintaining backward-compatibility. A function `pandoc.types.Version` is added as part of the newly introduced module `pandoc.types`, allowing users to create version objects in scripts.
17 lines
573 B
Haskell
17 lines
573 B
Haskell
{- |
|
|
Module : Text.Pandoc.Lua.Marshaling
|
|
Copyright : © 2012-2019 John MacFarlane
|
|
© 2017-2019 Albert Krewinkel
|
|
License : GNU GPL, version 2 or above
|
|
|
|
Maintainer : Albert Krewinkel <tarleb+pandoc@moltkeplatz.de>
|
|
Stability : alpha
|
|
|
|
Lua marshaling (pushing) and unmarshaling (peeking) instances.
|
|
-}
|
|
module Text.Pandoc.Lua.Marshaling () where
|
|
|
|
import Text.Pandoc.Lua.Marshaling.AST ()
|
|
import Text.Pandoc.Lua.Marshaling.CommonState ()
|
|
import Text.Pandoc.Lua.Marshaling.ReaderOptions ()
|
|
import Text.Pandoc.Lua.Marshaling.Version ()
|