doc-src/Tutorial/Recdef/Sep2.thy
author paulson
Mon, 24 May 1999 15:44:20 +0200
changeset 6701 e84a0b941beb
parent 6100 40d66bc3e83f
permissions -rw-r--r--
now uses mono_Increasing_o

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