doc-src/Tutorial/Recdef/Sep2.thy
author wenzelm
Fri, 01 Sep 2000 17:54:58 +0200
changeset 9789 7e5e6c47c0b5
parent 6100 40d66bc3e83f
permissions -rw-r--r--
GPLed; more robust handling of spaces in args / file names;

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