diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-03-28 13:51:15 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-03-28 13:51:15 -0700 |
commit | 7fa5fbed9e0440694e9c52a8dc83f3e4f29c8a96 (patch) | |
tree | 3015d7ef16559c3c40e6f1db2644bc5bac00565e /src/Text/Pandoc/Lua | |
parent | b87a3efb93a7354c53117fa4ba6d43d2b5746ee9 (diff) | |
download | pandoc-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