aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test/src/modules/Bar.hs
diff options
context:
space:
mode:
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
commit3378ef409170ae1f319c934876d2b9e1a14bb9a8 (patch)
tree8750a9412a1f2ba91a7e248149480354d8e0e6e3 /hoogle-test/src/modules/Bar.hs
parent7d0317a9210ddbb4f00976318910018fa9abea99 (diff)
Create simple test cases for Hoogle backend.
Diffstat (limited to 'hoogle-test/src/modules/Bar.hs')
-rw-r--r--hoogle-test/src/modules/Bar.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/hoogle-test/src/modules/Bar.hs b/hoogle-test/src/modules/Bar.hs
new file mode 100644
index 00000000..156a835f
--- /dev/null
+++ b/hoogle-test/src/modules/Bar.hs
@@ -0,0 +1,12 @@
+module Bar where
+
+
+import Foo
+
+
+bar :: Int -> Int
+bar x = foo' x x
+
+
+bar' :: Int -> Int -> Int
+bar' x y = foo' (bar (foo x)) (bar (foo y))