1\DOC butlast 2 3\TYPE {butlast : 'a list -> 'a list} 4 5\SYNOPSIS 6Computes the sub-list of a list consisting of all but the last element. 7 8\DESCRIBE 9{butlast [x1,...,xn]} returns {[x1,...,x(n-1)]}. 10 11\FAILURE 12Fails if the list is empty. 13 14\SEEALSO 15Lib.last, Lib.el, Lib.front_last. 16\ENDDOC 17