From 3606ad5fdb8b9c2c3f9a62de1d26702ad41f9a10 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Wed, 12 Mar 2014 10:31:31 +0100 Subject: Hide RHS of TFs with non-exported right hand sides 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. --- html-test/ref/TypeFamilies2.html | 92 +++++++++++++++++++++++++++++----------- 1 file changed, 68 insertions(+), 24 deletions(-) (limited to 'html-test/ref/TypeFamilies2.html') diff --git a/html-test/ref/TypeFamilies2.html b/html-test/ref/TypeFamilies2.html index 102ebd98..ea982f28 100644 --- a/html-test/ref/TypeFamilies2.html +++ b/html-test/ref/TypeFamilies2.html @@ -41,6 +41,30 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies2.html");} >

TypeFamilies2

Synopsis

Documentation

data X W

Exported type

Instances

ZW
data Bar X W = BarX Y 

Shown because BarX is still exported despite Z being hidden

type Foo X = Y 

Should be visible, but with a hidden right hand side

Foo a

Exported type family

Instances

type Foo X = Y  W

Should be visible, but with a hidden right hand side

Bar a

Exported data family

Instances

data Bar X W = BarX Y  Z

Shown because BarX is still exported despite Z being hidden