doc-src/Tutorial/Recdef/fib
author wenzelm
Thu, 08 Aug 2002 23:51:24 +0200
changeset 13486 54464ea94d6f
parent 6100 40d66bc3e83f
permissions -rw-r--r--
exception SIMPROC_FAIL: solid error reporting of simprocs;

consts fib :: nat => nat
recdef fib "measure(%n. n)"
  "fib 0 = 0"
  "fib 1 = 1"
  "fib (Suc(Suc x)) = fib x + fib (Suc x)"