doc-src/Tutorial/Misc/Sep2.thy
author webertj
Fri, 12 Mar 2004 10:47:59 +0100
changeset 14465 8cc21ed7ef41
parent 5377 efb799c5ed3c
permissions -rw-r--r--
\<dots> replaced by ...

Sep2 = List +
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