aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2018-05-10 11:19:47 -0400
committerRyan Scott <ryan.gl.scott@gmail.com>2018-05-10 11:19:47 -0400
commit00ccfecdfedb55d44c84dfa4f0f1de90cfe6fafd (patch)
tree613b32eab15299a764223bd787f42de404248a39 /hoogle-test
parenta8840a37976209c5a3c4cf929eff502cdca80ecf (diff)
Remove Hoogle backend hack that butchers infix datatype names
Diffstat (limited to 'hoogle-test')
-rw-r--r--hoogle-test/ref/Bug825/test.txt9
-rw-r--r--hoogle-test/src/Bug825/Bug825.hs6
2 files changed, 15 insertions, 0 deletions
diff --git a/hoogle-test/ref/Bug825/test.txt b/hoogle-test/ref/Bug825/test.txt
new file mode 100644
index 00000000..a88202dc
--- /dev/null
+++ b/hoogle-test/ref/Bug825/test.txt
@@ -0,0 +1,9 @@
+-- Hoogle documentation, generated by Haddock
+-- See Hoogle, http://www.haskell.org/hoogle/
+
+@package test
+@version 0.0.0
+
+module Bug825
+data a :~: b
+data (:~~:) a b
diff --git a/hoogle-test/src/Bug825/Bug825.hs b/hoogle-test/src/Bug825/Bug825.hs
new file mode 100644
index 00000000..bfe07139
--- /dev/null
+++ b/hoogle-test/src/Bug825/Bug825.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE MultiParamTypeClasses #-}
+{-# LANGUAGE TypeOperators #-}
+module Bug825 where
+
+data a :~: b
+data (:~~:) a b