doc-src/Tutorial/Recdef/fib
author wenzelm
Tue, 29 Aug 2000 20:12:35 +0200
changeset 9728 1546ad1c7839
parent 6100 40d66bc3e83f
permissions -rw-r--r--
added antiquotation 'name' and option 'indent';

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