doc-src/Tutorial/Recdef/fib
author wenzelm
Wed, 20 Oct 1999 11:05:06 +0200
changeset 7886 8fa551e22e52
parent 6100 40d66bc3e83f
permissions -rw-r--r--
the settings environment is now statically scoped; tuned;

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