Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-01-25 | Remove IO UUID functions. | Jesse Rosenthal | 1 | -16/+0 | |
2017-01-25 | Free: Add Typeable instance to PandocActionError | Jesse Rosenthal | 1 | -2/+3 | |
2017-01-25 | Fix up compiler warnings. | Jesse Rosenthal | 1 | -1/+3 | |
Export TestState and TestEnv, and remove redundant import. | |||||
2017-01-25 | Implement runTest functions. | Jesse Rosenthal | 1 | -58/+159 | |
These work with a State monad and a Reader monad to produce deterministic results. It can probably be simplified somewhat. | |||||
2017-01-25 | New Free module, with pure versions of IO funcs | Jesse Rosenthal | 1 | -0/+209 | |
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. |