Purpose
Extract
the first element of a range set or a list.
Synopsis
function cutfirst(r:range):integer
function cutfirst(l:list):type_of_l
Arguments
Return value
The first element of the set or list after it has been removed from its container.
Further information
This function is equivalent to calling
getfirst and then
cuthead for dropping one element.
Related topics