doc-src/Tutorial/Recdef/Sep1.thy
author paulson
Fri, 20 Apr 2001 11:11:40 +0200
changeset 11261 51bcafc7bfca
parent 6100 40d66bc3e83f
permissions -rw-r--r--
suggestions from OHeimb

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