an ornithological study of functional birds
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

00boring.R 113B

1234567
  1. # ordinary, name based recursion. booooring!
  2. fac = function (n) {
  3. if (n < 2) 1
  4. else n * fac(n - 1)
  5. }
  6. fac(8)