doc-src/Tutorial/Recdef/Sep1.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

Sep1 = Main +
consts sep :: "'a * 'a list => 'a list"
recdef sep "measure (%(a,xs). length xs)"
  "sep(a, x#y#zs) = x # a # sep(a,y#zs)"
  "sep(a, xs)     = xs"
end