doc-src/Tutorial/Recdef/last
author ballarin
Tue, 30 Sep 2003 17:05:50 +0200
changeset 14216 a15951091d5d
parent 6100 40d66bc3e83f
permissions -rw-r--r--
Removed garbage accidentally left behind in file.

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