doc-src/Tutorial/Recdef/last
author wenzelm
Tue, 30 Oct 2001 13:43:26 +0100
changeset 11982 65e2822d83dd
parent 6100 40d66bc3e83f
permissions -rw-r--r--
lemma Least_mono moved from Typedef.thy to Set.thy;

consts last :: 'a list => 'a
recdef last "measure (%xs. length xs)"
  "last [x]      = x"
  "last (x#y#zs) = last (y#zs)"