aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/SelfContained.hs
diff options
context:
space:
mode:
authorJoseph C. Sible <josephcsible@users.noreply.github.com>2020-02-07 02:42:46 -0500
committerGitHub <noreply@github.com>2020-02-07 08:42:46 +0100
commit60a3158bf9b6f4d16bb5fc6cac61b5c305ad40e3 (patch)
tree4112e9795a47630c48576393687f703e4de9e8e5 /src/Text/Pandoc/SelfContained.hs
parenta5a3ac994618d71ecaf2e8bd40251d792edc9c22 (diff)
downloadpandoc-60a3158bf9b6f4d16bb5fc6cac61b5c305ad40e3.tar.gz
More in-depth refactoring and cleanup (#6123)
* Avoid duplicating the dash case * Pull common functions out of case branches * Make sure list lengths are only calculated once * Use unless * Simplify parseURIReference' and avoid an unnecessary call to length * Use <$> instead of reimplementing it * Use swap instead of reimplementing it * Remove eta-expansion that's been unnecessary since 90f5dd8 * Use tailDef instead of reimplementing it * Use second instead of fmap, per @tarleb
Diffstat (limited to 'src/Text/Pandoc/SelfContained.hs')
0 files changed, 0 insertions, 0 deletions