last
Lib.last : 'a list -> 'a
Computes the last element of a list.
last [x1,...,xn] returns xn.
Failure
Fails if the list is empty.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help