doc-src/Tutorial/Recdef/Sep1.thy
author ballarin
Fri, 29 Aug 2003 15:40:11 +0200
changeset 14175 dbd16ebaf907
parent 6100 40d66bc3e83f
permissions -rw-r--r--
Method rule_tac understands Isar contexts: documentation.

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