aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Lua
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-28 13:51:15 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-28 13:51:15 -0700
commit7fa5fbed9e0440694e9c52a8dc83f3e4f29c8a96 (patch)
tree3015d7ef16559c3c40e6f1db2644bc5bac00565e /src/Text/Pandoc/Lua
parentb87a3efb93a7354c53117fa4ba6d43d2b5746ee9 (diff)
downloadpandoc-7fa5fbed9e0440694e9c52a8dc83f3e4f29c8a96.tar.gz
Use strict instead of lazy sum.
sum is lazy; replace with `foldl' (+) 0` to avoid stack overflow in Text.Pandoc.Pretty with very long strings. Closes #5401.
Diffstat (limited to 'src/Text/Pandoc/Lua')
0 files changed, 0 insertions, 0 deletions