aboutsummaryrefslogtreecommitdiff
path: root/latex-test/src
Commit message (Collapse)AuthorAgeFilesLines
* Better support for default methods in classesAlec Theriault2019-03-091-0/+19
| | | | | | | | | | * default methods now get rendered differently * default associated types get rendered * fix a forgotten `s/TypeSig/ClassOpSig/` refactor in LaTeX backend * LaTeX backend now renders default method signatures NB: there is still no way to document default class members and the NB: LaTeX backend still crashes on associated types
* Support value/type namespaces on identifier linksAlec Theriault2019-02-251-0/+13
| | | | | | | | | | | Identifier links can be prefixed with a 'v' or 't' to indicate the value or type namespace of the desired identifier. For example: -- | Some link to a value: v'Data.Functor.Identity' -- -- Some link to a type: t'Data.Functor.Identity' The default is still the type (with a warning about the ambiguity)
* Better rendering of unboxed sums/tuplesAlec Theriault2018-08-211-0/+18
| | | | | * adds space after/before the '#' marks * properly reify 'HsSumTy' in 'synifyType'
* Latex type families (#734)Alec Theriault2018-08-041-0/+21
| | | | | | | | | | | | | | | | | | | | * Support for type families in LaTeX The code is ported over from the XHTML backend. * Refactor XHTML and LaTeX family handling This is mostly a consolidation effort: stripping extra exports, inlining some short definitions, and trying to make the backends match. The LaTeX backend now has preliminary support for data families, although the only the data instance head is printed (not the actual constructors). Both backends also now use "newtype" for newtype data family instances. * Add some tests
* Misc tests (#858)Alec Theriault2018-07-202-0/+69
| | | | | | | | | | | | * More tests * spliced types * constructor/pattern argument docs * strictness marks on fields with argument docs * latex test cases need seperate directory * Accept tests
* LaTeX tests setupMateusz Kowalczyk2013-08-271-0/+5