aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/TypeFamilies2.hs
Commit message (Collapse)AuthorAgeFilesLines
* html-test: Always set languageJoachim Breitner2021-02-221-0/+1
| | | | | | | | | | from ghc-9.2 on, the “default” langauge of GHC is expected to change more wildly. To prepare for that (and unblock https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4853), this sets the language for all the test files to `Haskell2010`. This should insolate this test suite against changes to the default. Cherry-picked from https://github.com/haskell/haddock/pull/1341
* Hide RHS of TFs with non-exported right hand sidesNiklas Haas2014-03-131-8/+24
| | | | | | Not sure what to do about data families yet, since technically it would not make a lot of sense to display constructors that cannot be used by the user.
* Filter family instances of hidden typesNiklas Haas2014-03-111-0/+8
| | | | | Currently, this check does not extend to hidden right hand sides, although it probably should hide them in that case.
* Add test case for inter-module type/data family instancesNiklas Haas2014-02-151-1/+4
| | | | | | | These should show up in every place where the class is visible, and indeed they do right now. Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
* Add support for type/data familiesnand2014-02-111-0/+12
This adds support for type/data families with their respective instances, as well as closed type families and associated type/data families. Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>