aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test/ref/Bug806
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2018-04-24 16:51:06 -0400
committerAlexander Biehl <alexbiehl@gmail.com>2018-04-24 13:51:06 -0700
commit979c7338cfcdc59f0b0dda562a53558c416cc362 (patch)
tree073baae7f9cfa6cc3c2ed6ca0fd017092cd80c36 /hoogle-test/ref/Bug806
parentb347a8c47edafa6bb3df7d35f0189619294831c4 (diff)
Improve the Hoogle backend's treatment of type families (#808)
Fixes parts 1 and 2 of #806.
Diffstat (limited to 'hoogle-test/ref/Bug806')
-rw-r--r--hoogle-test/ref/Bug806/test.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/hoogle-test/ref/Bug806/test.txt b/hoogle-test/ref/Bug806/test.txt
new file mode 100644
index 00000000..d9a908b3
--- /dev/null
+++ b/hoogle-test/ref/Bug806/test.txt
@@ -0,0 +1,24 @@
+-- Hoogle documentation, generated by Haddock
+-- See Hoogle, http://www.haskell.org/hoogle/
+
+@package test
+@version 0.0.0
+
+module Bug806
+
+-- | <a>F1</a> docs
+type family F1 a b :: * -> *
+
+-- | <a>F2</a> docs
+type family F2 a b :: * -> *
+
+-- | <a>D</a> docs
+data family D a :: * -> *
+v :: Int
+
+-- | <a>C</a> docs
+class C a where {
+
+ -- | <a>AT</a> docs
+ type family AT a;
+}