doc-src/Tutorial/Recdef/Sep2.thy
author nipkow
Fri, 18 Oct 2002 09:53:18 +0200
changeset 13654 b0d8bad27f42
parent 6100 40d66bc3e83f
permissions -rw-r--r--
Mod due to: Added a few thms about UN/INT/{}/UNIV

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