doc-src/Tutorial/Recdef/last
author berghofe
Tue, 20 Jul 1999 10:34:17 +0200
changeset 7049 f59d33c6e1c7
parent 6100 40d66bc3e83f
permissions -rw-r--r--
Eliminated addDistinct.

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