doc-src/Tutorial/Recdef/Sep2.thy
author nipkow
Thu, 06 May 1999 11:13:01 +0200
changeset 6605 c2754409919b
parent 6100 40d66bc3e83f
permissions -rw-r--r--
New title page.

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