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