doc-src/Tutorial/Recdef/last
author wenzelm
Mon, 04 Oct 1999 21:48:23 +0200
changeset 7707 1f4b67fdfdae
parent 6100 40d66bc3e83f
permissions -rw-r--r--
simprocs now in IntArith;

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