aboutsummaryrefslogtreecommitdiff
path: root/test.hs
diff options
context:
space:
mode:
authorAnthony Wang2021-12-08 12:32:19 -0600
committerAnthony Wang2021-12-08 12:32:19 -0600
commite339bd98fd86a875bf797106349ee312773b60b3 (patch)
tree085279be15ebd6937a285a478b7c2ccc61ebdb5f /test.hs
parent59698d61ab48784d33798a7c8a32daee17940380 (diff)
Add run script
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