doc-src/Tutorial/Recdef/sep2
author kleing
Mon, 14 Jul 2003 14:44:06 +0200
changeset 14110 c45c94fa16f4
parent 6100 40d66bc3e83f
permissions -rw-r--r--
use Library.Some/None instead of just Some/None in generated quickcheck code

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