rest
func rest(ls : List+String) -> List+String
return Undefined when #ls = 0
return slice(ls, [2..#ls])
Returns a copy of the given list or string, minus the first element.
For example: rest([1]) = []
rest(`two') = `wo'
rest([]) = Undefined
Synonymous to: tl
See also: all_but_last,
first, hd,
last
Herman Venter
This is Slim documentation as snarfed on 27 May 1999 by dB.