Method ADT.List()->pop()

class ADT.List

Method pop

ValueType pop()

Description

Pop the element at the head of the list from the list.

Throws

Throws an error if the list is empty.

See also

is_empty(), head(), tail(), pop_back()