diff options
author | Joseph C. Sible <josephcsible@users.noreply.github.com> | 2020-03-30 00:18:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-29 21:18:31 -0700 |
commit | 693159bf38b67be02c9632bd674def2c2add1f28 (patch) | |
tree | 23eb7a0fc58098c1c7f1199527262ce721a24218 /Setup.hs | |
parent | 377efd0ce7736685c2a43842743a11ae01ed0a0b (diff) | |
download | pandoc-693159bf38b67be02c9632bd674def2c2add1f28.tar.gz |
Clean up and simplify Text.Pandoc.Writers.Docx (#6229)
* Use <|> to simplify the Semigroup instance
* Use map instead of reimplementing it
* Simplify isValidChar
* Remove an unnecessary nested do block
* Simplify pgContentWidth
* Simplify addLang
* Simplify newStyles
* Avoid an unnecessary fmap in headerFooterEntries
* Remove unnecessary monadicity from mkNumbering and mkAbstractNum
* Use randomRs instead of constantly messing with the RNG state
* Lift common functions out of ifs
* Hoist not
* Clarify withTextPropM and withParaPropM
Diffstat (limited to 'Setup.hs')
0 files changed, 0 insertions, 0 deletions