binomialkoeffizient.hs 90 B

12345
  1. binom n k =
  2. if (k==0) || (k==n)
  3. then 1
  4. else binom (n-1) (k-1) + binom (n-1) k