doc-src/Tutorial/Recdef/last
author oheimb
Fri, 28 Jan 2000 11:22:02 +0100
changeset 8148 5ef0b624aadb
parent 6100 40d66bc3e83f
permissions -rw-r--r--
beautified spacing for binders with symbols syntax, analogous to HOL.thy

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