aboutsummaryrefslogtreecommitdiff
path: root/test.hs
diff options
context:
space:
mode:
Diffstat (limited to 'test.hs')
-rw-r--r--test.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.hs b/test.hs
index c202f35..02ff588 100644
--- a/test.hs
+++ b/test.hs
@@ -1,5 +1,7 @@
-- Haskell
+import Prelude hiding (gcd)
+
gcd :: Integer -> Integer -> Integer
gcd a b = if b > 0 then gcd b (mod a b) else a