doc-src/Tutorial/Recdef/sep2
author wenzelm
Wed, 20 Oct 1999 11:05:06 +0200
changeset 7886 8fa551e22e52
parent 6100 40d66bc3e83f
permissions -rw-r--r--
the settings environment is now statically scoped; tuned;

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