butlast
Lib.butlast : 'a list -> 'a list
Computes the sub-list of a list consisting of all but the last element.
butlast [x1,...,xn] returns [x1,...,x(n-1)].
butlast [x1,...,xn]
[x1,...,x(n-1)]
Fails if the list is empty.
Lib.last, Lib.el, Lib.front_last
Lib.last
Lib.el
Lib.front_last