doc-src/Tutorial/Misc/Last.thy
author berghofe
Tue, 17 Aug 1999 14:01:39 +0200
changeset 7228 ddb67dcf026c
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Tuned some comments.

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