diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-10-04 08:54:35 -0400 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-10-04 08:54:35 -0400 |
commit | 1893f8fe489332e52aa1913144ef644093604a53 (patch) | |
tree | 846a1b77950303a459b89e361cce35fd253866d9 /tests/writer.opendocument | |
parent | 3f9a0a8bc43ddb34e880b239017e3386f745a950 (diff) | |
download | pandoc-1893f8fe489332e52aa1913144ef644093604a53.tar.gz |
Docx writer: move a couple more vars to ReaderT
In general, we want things that are either:
1. unchanging environment variables, or
2. environment variables that will change for a the scope of
a function and then pop back
to be in the reader monad. This is safer for (1), since we won't
accidentally change it, and easier for (2), since we can use `local`
instad of setting the old value and then resetting.
We keep the StateT monad for values that we will want to accumulate or
change and then use later.
Diffstat (limited to 'tests/writer.opendocument')
0 files changed, 0 insertions, 0 deletions