Starting from the list aList, return a list containing the same elements in the same order, but for the last element of the list. Raises an error for an empty list.
aList
the list to consider
a list without the last element
Starting from the list
aList, return a list containing the same elements in the same order, but for the last element of the list. Raises an error for an empty list.