diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-07-08 13:22:20 -0400 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-07-12 18:03:27 +0100 |
commit | d65fd581713f181032ac29afe9843f1de99c70e0 (patch) | |
tree | f2f3e617d5d8d7e04438c6239f5daf8d27ab79c4 /src/Text/Pandoc/XML.hs | |
parent | 7d6da118d30c8682d64ee10c99259ac69c34b5be (diff) | |
download | pandoc-d65fd581713f181032ac29afe9843f1de99c70e0.tar.gz |
Docx Reader: A nicer Docx type.
This modifies the Docx type in the parser to avoid all the extra files
(Notes, numbering, etc). A reader monad keeps track of these, and applies
them at the end. The reader monad is stacked with ErrorT to enable better
error-handling than the old Maybes. (Note that the better error handling
isn't really there yet, but it is now possible.)
One long-term goal of these changes is to make it easier to write the Docx
type. This should make it easier to develop a standalone docx package in the
future.
Diffstat (limited to 'src/Text/Pandoc/XML.hs')
0 files changed, 0 insertions, 0 deletions