aboutsummaryrefslogtreecommitdiff
path: root/.gitmodules
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2016-10-04 08:54:35 -0400
committerJesse Rosenthal <jrosenthal@jhu.edu>2016-10-04 08:54:35 -0400
commit1893f8fe489332e52aa1913144ef644093604a53 (patch)
tree846a1b77950303a459b89e361cce35fd253866d9 /.gitmodules
parent3f9a0a8bc43ddb34e880b239017e3386f745a950 (diff)
downloadpandoc-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 '.gitmodules')
0 files changed, 0 insertions, 0 deletions