doc-src/Tutorial/Recdef/fib
author wenzelm
Fri, 01 Sep 2000 17:54:58 +0200
changeset 9789 7e5e6c47c0b5
parent 6100 40d66bc3e83f
permissions -rw-r--r--
GPLed; more robust handling of spaces in args / file names;

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