doc-src/Tutorial/Recdef/last
author paulson
Mon, 23 Oct 2000 10:20:55 +0200
changeset 10288 00abecbfa46a
parent 6100 40d66bc3e83f
permissions -rw-r--r--
contrapos

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