last : 'a list -> 'a
SYNOPSIS
Computes the last element of a list.
DESCRIPTION
last [x1;...;xn]
returns
xn
.
FAILURE CONDITIONS
Fails with
last
if the list is empty.
SEE ALSO
butlast
,
hd
,
tl
,
el
.