diff options
author | Alexander <ilabdsf@gmail.com> | 2017-11-16 20:24:02 +0300 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-11-16 09:24:02 -0800 |
commit | 26e59b331fc6ce2509a3b53f4454c0fadfbc58ee (patch) | |
tree | 56b9f025dd4d90fb87cfa40004d5fa899875902c /src/Text/Pandoc/Writers.hs | |
parent | 4e02ed5f5cd5cf4d07c7252f2aac9a83b9ca7463 (diff) | |
download | pandoc-26e59b331fc6ce2509a3b53f4454c0fadfbc58ee.tar.gz |
Introduce `HasSyntaxExtensions` typeclass (#4074)
+ Added new `HasSyntaxExtensions` typeclass for `ReaderOptions` and `WriterOptions`.
+ Reimplemented `isEnabled` function from `Options.hs` to accept both `ReaderOptions`
and `WriterOptions`.
+ Replaced `enabled` from `CommonMark.hs` with new `isEnabled`.
Diffstat (limited to 'src/Text/Pandoc/Writers.hs')
0 files changed, 0 insertions, 0 deletions