doc-src/Tutorial/Recdef/Sep2.thy
author wenzelm
Thu, 18 May 2000 19:04:04 +0200
changeset 8886 111476895bf2
parent 6100 40d66bc3e83f
permissions -rw-r--r--
print_state: flag for proof only;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6100
40d66bc3e83f *** empty log message ***
nipkow
parents:
diff changeset
     1
Sep2 = Main +
40d66bc3e83f *** empty log message ***
nipkow
parents:
diff changeset
     2
consts sep :: 'a list => 'a => 'a list
40d66bc3e83f *** empty log message ***
nipkow
parents:
diff changeset
     3
recdef sep "measure length"
40d66bc3e83f *** empty log message ***
nipkow
parents:
diff changeset
     4
  "sep (x#y#zs) = (%a. x # a # sep zs a)"
40d66bc3e83f *** empty log message ***
nipkow
parents:
diff changeset
     5
  "sep xs       = (%a. xs)"
40d66bc3e83f *** empty log message ***
nipkow
parents:
diff changeset
     6
end