doc-src/Tutorial/Recdef/last
author wenzelm
Mon, 08 May 2000 11:13:28 +0200
changeset 8828 5be2d1745c61
parent 6100 40d66bc3e83f
permissions -rw-r--r--
improved indexing;

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