diff options
author | Łukasz Hanuszczak <lukasz.hanuszczak@gmail.com> | 2015-08-19 17:07:25 +0200 |
---|---|---|
committer | Łukasz Hanuszczak <lukasz.hanuszczak@gmail.com> | 2015-08-22 23:40:28 +0200 |
commit | 3378ef409170ae1f319c934876d2b9e1a14bb9a8 (patch) | |
tree | 8750a9412a1f2ba91a7e248149480354d8e0e6e3 /hoogle-test/src/classes/Classes.hs | |
parent | 7d0317a9210ddbb4f00976318910018fa9abea99 (diff) |
Create simple test cases for Hoogle backend.
Diffstat (limited to 'hoogle-test/src/classes/Classes.hs')
-rw-r--r-- | hoogle-test/src/classes/Classes.hs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hoogle-test/src/classes/Classes.hs b/hoogle-test/src/classes/Classes.hs new file mode 100644 index 00000000..23f68499 --- /dev/null +++ b/hoogle-test/src/classes/Classes.hs @@ -0,0 +1,16 @@ +module Classes where + + +class Foo f where + + bar :: f a -> f b -> f (a, b) + baz :: f () + + baz = undefined + + +class Quux q where + + (+++), (///) :: q -> q -> q + (***), logBase :: q -> q -> q + foo, quux :: q -> q -> q |