From 9db0008777cc4cd9f07e14a3458e3d903e3cc4f6 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 29 May 2017 13:29:11 -0400 Subject: finish vol 4 --- 31-41/32.hs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 31-41/32.hs (limited to '31-41/32.hs') diff --git a/31-41/32.hs b/31-41/32.hs new file mode 100644 index 0000000..585039d --- /dev/null +++ b/31-41/32.hs @@ -0,0 +1,5 @@ +myGCD :: Int -> Int -> Int + + +myGCD a 0 = abs a +myGCD a b = myGCD b (a `mod` b) -- cgit v1.2.3