summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-11-21 09:22:06 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-11-21 09:22:06 -0800
commitfda4426883a2e80899a9dea613910a803ccc4be0 (patch)
tree382810c16c6f4692a87c67bd67af232f54ec84d1 /src
parent30c1e53c42b4829c6eac9ab55d66fac6411c2c71 (diff)
Add comment explaining why TH is used in Text.Pandoc.App.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/App.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs
index 4c4525dce..41b6a310b 100644
--- a/src/Text/Pandoc/App.hs
+++ b/src/Text/Pandoc/App.hs
@@ -1671,5 +1671,7 @@ deprecatedOption o =
Right () -> return ()
Left e -> E.throwIO e
+-- see https://github.com/jgm/pandoc/pull/4083
+-- using generic deriving caused long compilation times
$(deriveJSON defaultOptions ''LineEnding)
$(deriveJSON defaultOptions ''Opt)