doc-src/Tutorial/Recdef/Sep2.thy
author wenzelm
Thu, 27 Jul 2000 18:25:01 +0200
changeset 9451 5c25ed3c10a0
parent 6100 40d66bc3e83f
permissions -rw-r--r--
begin_theory: store *copy* of initial theory;

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