Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Tuesday Praxis

By: a guest on Feb 16th, 2009  |  syntax: Scheme  |  size: 0.10 KB  |  views: 549  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. (define (gcd m n)
  2.   (cond ((< m n) (gcd m (- n m)))
  3.         ((< n m) (gcd (- m n) n))
  4.         (else m)))