aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test/src/Bug722
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-07-05 10:43:35 -0400
committerSimon Jakobi <simon.jakobi@gmail.com>2018-07-20 13:39:29 +0200
commit7e92026477248c077c0f47a1d5995513fa76e2b4 (patch)
tree8536ca907fa5ee28ff8f371c9ab0729ff913e8c9 /hoogle-test/src/Bug722
parenta532f8f0b81461849278b4cc5bc5b72521e516d1 (diff)
Export more fixities for Hoogle (#871)
This exports fixities for more things, including class methods and type-level operators. (cherry picked from commit 88316b972e3d47197b1019111bae0f7f87275fce)
Diffstat (limited to 'hoogle-test/src/Bug722')
-rw-r--r--hoogle-test/src/Bug722/Bug722.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/hoogle-test/src/Bug722/Bug722.hs b/hoogle-test/src/Bug722/Bug722.hs
new file mode 100644
index 00000000..a33d5b24
--- /dev/null
+++ b/hoogle-test/src/Bug722/Bug722.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE TypeOperators, TypeFamilies #-}
+module Bug722 where
+
+class Foo a where
+ (!@#) :: a -> a -> a
+infixl 4 !@#
+
+type family (&*) :: * -> * -> *
+infixr 3 &*
+
+data a :-& b = a :^& b
+infixl 6 :-&, :^&
+