From 3378ef409170ae1f319c934876d2b9e1a14bb9a8 Mon Sep 17 00:00:00 2001 From: Ɓukasz Hanuszczak Date: Wed, 19 Aug 2015 17:07:25 +0200 Subject: Create simple test cases for Hoogle backend. --- hoogle-test/src/modules/Foo.hs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 hoogle-test/src/modules/Foo.hs (limited to 'hoogle-test/src/modules/Foo.hs') diff --git a/hoogle-test/src/modules/Foo.hs b/hoogle-test/src/modules/Foo.hs new file mode 100644 index 00000000..6581fe4c --- /dev/null +++ b/hoogle-test/src/modules/Foo.hs @@ -0,0 +1,9 @@ +module Foo where + + +foo :: Int -> Int +foo = (* 2) + + +foo' :: Int -> Int -> Int +foo' x y = foo x + foo y -- cgit v1.2.3