doc-src/Tutorial/Recdef/Sep1.thy
author wenzelm
Thu, 01 Feb 2001 21:28:23 +0100
changeset 11028 8cf44cbe22e8
parent 6100 40d66bc3e83f
permissions -rw-r--r--
moved to Product_Type_lemmas.ML

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