doc-src/Tutorial/Recdef/Sep2.thy
author wenzelm
Tue, 19 Feb 2002 23:45:54 +0100
changeset 12899 7d5b690253ee
parent 6100 40d66bc3e83f
permissions -rw-r--r--
"isatool usedir -D output HOL Test && isatool document Test/output";

Sep2 = Main +
consts sep :: 'a list => 'a => 'a list
recdef sep "measure length"
  "sep (x#y#zs) = (%a. x # a # sep zs a)"
  "sep xs       = (%a. xs)"
end