doc-src/Tutorial/Recdef/Sep2.thy
author webertj
Wed, 10 Mar 2004 20:36:11 +0100
changeset 14455 5c4a1e96efd6
parent 6100 40d66bc3e83f
permissions -rw-r--r--
Updated examples

Sep2 = Main +
consts sep :: 'a list => 'a => 'a list
recdef sep "measure length"
  "sep (x#y#zs) = (%a. x # a # sep zs a)"
  "sep xs       = (%a. xs)"
end