Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-08-11 | Docx reader: handle empty reducibles. | Jesse Rosenthal | 1 | -5/+6 | |
2014-08-10 | Change head/tail to pattern guards. | Jesse Rosenthal | 1 | -7/+8 | |
2014-08-09 | Docx reader: Fix spacing issue. | Jesse Rosenthal | 1 | -9/+10 | |
Previously spaces at the beginning of Emph/Strong/etc were kept inside. This makes sure they are moved out. | |||||
2014-07-12 | Removed space at ends of lines in source. | John MacFarlane | 1 | -4/+4 | |
2014-06-23 | Add copyright block to T.P.R.Docx.Reducible. | Jesse Rosenthal | 1 | -0/+31 | |
2014-06-23 | Add new typeclass, Reducible | Jesse Rosenthal | 1 | -0/+150 | |
This defines a typeclass `Reducible` which allows us to "reduce" pandoc Inlines and Blocks, like so Emph [Strong [Str "foo", Space]] <++> Strong [Emph [Str "bar"]], Str "baz"] = [Strong [Emph [Str "foo", Space, Str "bar"], Space, Str "baz"]] So adjacent formattings and strings are appropriately grouped. Another set of operators for `(Reducible a) => (Many a)` are also included. |