doc-src/Tutorial/Recdef/Sep2.thy
author nipkow
Thu, 04 Mar 2004 15:49:42 +0100
changeset 14432 b02de2918c59
parent 6100 40d66bc3e83f
permissions -rw-r--r--
Lex: ML -> thy

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