doc-src/Tutorial/Recdef/sep2
author berghofe
Fri, 23 Jun 2000 12:29:55 +0200
changeset 9116 9df44b5c610b
parent 6100 40d66bc3e83f
permissions -rw-r--r--
get_inductive now returns None instead of raising an exception.

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)"