Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Feb 7th, 2012  |  syntax: OCaml  |  size: 0.09 KB  |  hits: 117  |  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. let rec fibnum n =
  2.   match n with
  3.   | 0->0
  4.   | 1->1
  5.   | n->fibnum(n-1) + fibnum(n-2);;