diff options
author | Alex Vong <alexvong1995@gmail.com> | 2015-09-25 03:54:41 +0800 |
---|---|---|
committer | Alex Vong <alexvong1995@gmail.com> | 2015-10-01 02:24:34 +0800 |
commit | d7a19c22be073854ea3e2d677913c1d81991b182 (patch) | |
tree | 21c06516253fc903b25fd26bd933fe09e7efa45b /tests/lhs-test.rst+lhs | |
parent | f5e33e0dce8a4f08e23a59a8b270d3dad94601e0 (diff) | |
download | pandoc-d7a19c22be073854ea3e2d677913c1d81991b182.tar.gz |
Move the variable pandocVersion from `src/Text/Pandoc.hs` to
`src/Text/Pandoc/Shared.hs`, so that all Writers can access this variable
without importing `src/Text/Pandoc.hs`, preventing circular import.
* pandoc.hs: Import pandocVersion from `Text.Pandoc.Shared`.
* src/Text/Pandoc.hs: Remove the definition of pandocVersion
and relevant import.
* src/Text/Pandoc/Shared.hs: Add the definition of pandocVersion
and relevant import.
Diffstat (limited to 'tests/lhs-test.rst+lhs')
0 files changed, 0 insertions, 0 deletions