doc-src/Tutorial/Recdef/Sep2.thy
author paulson
Fri, 26 May 2000 18:04:17 +0200
changeset 8983 15bd7d568fb2
parent 6100 40d66bc3e83f
permissions -rw-r--r--
named the primrec clauses of upt

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