• Given a list aList, return its tail, i.e the list deprived of its first element.

    Raises an error in case of an empty list.

    tail is mostly an alias for cdr with error handling.

    Parameters

    • aList: List<any>

      the list considered

    Returns any

    • the tail of aList if any

    Error - if the list is empty