Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. |