You are viewing a single comment's thread. Return to all comments →
Haskell
gcd' :: Integral a => a -> a -> a gcd' n m | n > m = gcd' (n-m) m | n < m = gcd' n (m-n) | otherwise = n
Seems like cookies are disabled on this browser, please enable them to open this website
Computing the GCD
You are viewing a single comment's thread. Return to all comments →
Haskell