diff options
author | Joseph C. Sible <josephcsible@users.noreply.github.com> | 2020-02-03 23:31:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 20:31:05 -0800 |
commit | 1ea5b1802072fe2724977fa859c0e5b48f15917d (patch) | |
tree | f675b874a02776c8b5809a5dfa73fa2ca967c1ef /src/Text/Pandoc/Logging.hs | |
parent | d9b1776336db06306562c4b5648716196261b548 (diff) | |
download | pandoc-1ea5b1802072fe2724977fa859c0e5b48f15917d.tar.gz |
Swap suboptimal uses of maybe and fromMaybe (#6111)
Anywhere "maybe" is used with "id" as its second argument, using
"fromMaybe" instead will simplify the code. Conversely, anywhere
"fromMaybe" is used with the result of "fmap" or "<$>" as its second
argument, using "maybe" instead will simplify the code.
Diffstat (limited to 'src/Text/Pandoc/Logging.hs')
0 files changed, 0 insertions, 0 deletions