doc-src/Tutorial/Recdef/sep2
author wenzelm
Sat, 01 Jul 2000 19:49:20 +0200
changeset 9226 cbe6144f0f15
parent 6100 40d66bc3e83f
permissions -rw-r--r--
tuned;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6100
40d66bc3e83f *** empty log message ***
nipkow
parents:
diff changeset
     1
consts sep :: 'a list => 'a => 'a list
40d66bc3e83f *** empty log message ***
nipkow
parents:
diff changeset
     2
recdef sep "measure length"
40d66bc3e83f *** empty log message ***
nipkow
parents:
diff changeset
     3
  "sep (x#y#zs) = (%a. x # a # sep zs a)"
40d66bc3e83f *** empty log message ***
nipkow
parents:
diff changeset
     4
  "sep xs       = (%a. xs)"