aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/EPUB.hs
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2016-09-24 17:49:07 -0400
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-25 17:07:39 +0100
commit0ab4af2f03f4226714a39c959c161def679d9d57 (patch)
treecceca55efd3b08c6d496d56d5e11422350e42b43 /src/Text/Pandoc/Writers/EPUB.hs
parenta6b469c02b3c21cfc1b5169ea3e75b7388f55691 (diff)
downloadpandoc-0ab4af2f03f4226714a39c959c161def679d9d57.tar.gz
New Free module, with pure versions of IO funcs
Introduce a new module, Text.Pandoc.Free, with pure versions, based on the free monad, of numerous IO functions used in writers and readers. These functions are in a pure Monad (PandocAction). PandocAction takes as a parameter the type of IORefs in it. It can be aliased in individual writers and readers to avoid this parameter. Note that this means that at the moment a reader can only use one type of IORef. If possible, it would be nice to remove this limitation.
Diffstat (limited to 'src/Text/Pandoc/Writers/EPUB.hs')
0 files changed, 0 insertions, 0 deletions