doc-src/Tutorial/Recdef/last
author wenzelm
Sat, 02 Sep 2000 21:47:08 +0200
changeset 9799 038b018f86f5
parent 6100 40d66bc3e83f
permissions -rw-r--r--
'split' method: '(asm)' option; added 'slow', 'slowsimp', 'bestsimp' methods;

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