diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2018-07-05 10:43:35 -0400 |
---|---|---|
committer | Ryan Scott <ryan.gl.scott@gmail.com> | 2018-07-05 10:43:35 -0400 |
commit | 88316b972e3d47197b1019111bae0f7f87275fce (patch) | |
tree | e81036839663c67e47919c260435a80c3fc815d1 /hoogle-test/src/Bug722 | |
parent | 61d6f935da97eb96685f07bf385102c2dbc2a33c (diff) |
Export more fixities for Hoogle (#871)
This exports fixities for more things, including class methods and
type-level operators.
Diffstat (limited to 'hoogle-test/src/Bug722')
-rw-r--r-- | hoogle-test/src/Bug722/Bug722.hs | 13 |
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 :-&, :^& + |