doc-src/Tutorial/Recdef/Sep1.thy
author oheimb
Fri, 28 Jan 2000 11:22:02 +0100
changeset 8148 5ef0b624aadb
parent 6100 40d66bc3e83f
permissions -rw-r--r--
beautified spacing for binders with symbols syntax, analogous to HOL.thy

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