doc-src/Tutorial/Recdef/Sep2.thy
author wenzelm
Fri, 03 Nov 2000 21:28:15 +0100
changeset 10381 4dfbcad19bfb
parent 6100 40d66bc3e83f
permissions -rw-r--r--
fixed two obscurities of "fix": predeclare_terms;

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