diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2017-06-29 14:00:26 +0200 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2017-06-29 14:00:26 +0200 |
| commit | 6ad74815f66cb36ec4039c597b38473db853eb6c (patch) | |
| tree | 85301653113fc2d6b546091a702b8140d1a08a17 /test | |
| parent | c505de59c022e2c02b6b220da0849a4e67394d6a (diff) | |
| download | pandoc-6ad74815f66cb36ec4039c597b38473db853eb6c.tar.gz | |
Text.Pandoc.Lua: use generics to reduce boilerplate.
I tested this with the str.lua filter on MANUAL.txt, and
I could see no significant performance degradation.
Doing things this way will ease maintenance, as we won't
have to manually modify this module when types change.
@tarleb, do we really need special cases for things like
DoubleQuoted and InlineMath?
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
