doc-src/Tutorial/Recdef/Sep2.thy
author wenzelm
Wed, 24 May 2000 18:04:20 +0200
changeset 8946 40e06237934c
parent 6100 40d66bc3e83f
permissions -rw-r--r--
"done" command;

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